Don't tell you that you successfully flagged a topic.

This commit is contained in:
Neil Lalonde 2014-02-27 18:31:28 -05:00
parent 6e0e628ff5
commit 3ddd71ffd1
1 changed files with 0 additions and 1 deletions

View File

@ -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);