FIX: The previous flag reason was selected when opening the modal.

This commit is contained in:
Robin Ward
2013-07-22 12:05:13 -04:00
parent e73c809836
commit 112b9f9c2a
2 changed files with 12 additions and 11 deletions
@@ -9,6 +9,10 @@
**/
Discourse.FlagController = Discourse.ObjectController.extend(Discourse.ModalFunctionality, {
onShow: function() {
this.set('selected', null);
},
changePostActionType: function(action) {
this.set('selected', action);
},