mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -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');
|
this.send('hideModal');
|
||||||
postAction.act(params).then(function() {
|
postAction.act(params).then(function() {
|
||||||
self.send('closeModal');
|
self.send('closeModal');
|
||||||
if (self.get('flagTopic')) { bootbox.alert(I18n.t('topic.flag_topic.success_message')); }
|
|
||||||
}, function(errors) {
|
}, function(errors) {
|
||||||
self.send('showModal');
|
self.send('showModal');
|
||||||
self.displayErrors(errors);
|
self.displayErrors(errors);
|
||||||
|
|
Loading…
Reference in a new issue