FIX: The previous flag reason was selected when opening the modal.
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
**/
|
||||
Discourse.FlagController = Discourse.ObjectController.extend(Discourse.ModalFunctionality, {
|
||||
|
||||
onShow: function() {
|
||||
this.set('selected', null);
|
||||
},
|
||||
|
||||
changePostActionType: function(action) {
|
||||
this.set('selected', action);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user