From 3ddd71ffd18d8749910070b6487c67dd2eb29ef8 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 27 Feb 2014 18:31:28 -0500 Subject: [PATCH] Don't tell you that you successfully flagged a topic. --- app/assets/javascripts/discourse/controllers/flag_controller.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/flag_controller.js b/app/assets/javascripts/discourse/controllers/flag_controller.js index f926b070c..a842d4be2 100644 --- a/app/assets/javascripts/discourse/controllers/flag_controller.js +++ b/app/assets/javascripts/discourse/controllers/flag_controller.js @@ -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);