mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08:00
FIX: combo-box should assign value on initialize
This fixes the bug where admins could post to uncategorized even when it was disabled.
This commit is contained in:
parent
4152bff834
commit
bdfe91914f
|
@ -74,6 +74,7 @@ export default Ember.Component.extend({
|
|||
}
|
||||
self.set('value', val);
|
||||
});
|
||||
$elem.trigger('change');
|
||||
}.on('didInsertElement'),
|
||||
|
||||
_destroyDropdown: function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user