Don't tell you that you successfully flagged a topic.
This commit is contained in:
parent
6e0e628ff5
commit
3ddd71ffd1
|
@ -89,7 +89,6 @@ Discourse.FlagController = Discourse.ObjectController.extend(Discourse.ModalFunc
|
|||
this.send('hideModal');
|
||||
postAction.act(params).then(function() {
|
||||
self.send('closeModal');
|
||||
if (self.get('flagTopic')) { bootbox.alert(I18n.t('topic.flag_topic.success_message')); }
|
||||
}, function(errors) {
|
||||
self.send('showModal');
|
||||
self.displayErrors(errors);
|
||||
|
|
Loading…
Reference in New Issue