mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
Don't tell you that you successfully flagged a topic.
This commit is contained in:
parent
6e0e628ff5
commit
3ddd71ffd1
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue