mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05: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
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ export default Ember.Component.extend({
|
|||
}
|
||||
self.set('value', val);
|
||||
});
|
||||
$elem.trigger('change');
|
||||
}.on('didInsertElement'),
|
||||
|
||||
_destroyDropdown: function() {
|
||||
|
|
Loading…
Reference in a new issue