From b369609903286edf6c3f7cac09a261d7fc0fa44c Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 14 May 2014 15:52:29 -0700 Subject: [PATCH] add glyphs to flag dialog action button --- app/assets/javascripts/discourse/controllers/flag.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/flag.js.es6 b/app/assets/javascripts/discourse/controllers/flag.js.es6 index e7e70455a4..9c3c8e12c4 100644 --- a/app/assets/javascripts/discourse/controllers/flag.js.es6 +++ b/app/assets/javascripts/discourse/controllers/flag.js.es6 @@ -62,9 +62,9 @@ export default Discourse.ObjectController.extend(Discourse.ModalFunctionality, { submitText: function(){ if (this.get('selected.is_custom_flag')) { - return I18n.t(this.get('flagTopic') ? "flagging_topic.notify_action" : "flagging.notify_action"); + return "" + I18n.t(this.get('flagTopic') ? "flagging_topic.notify_action" : "flagging.notify_action"); } else { - return I18n.t(this.get('flagTopic') ? "flagging_topic.action" : "flagging.action"); + return "" + I18n.t(this.get('flagTopic') ? "flagging_topic.action" : "flagging.action"); } }.property('selected.is_custom_flag'),