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

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