mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 11:20:57 -06: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