summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-12-21 21:47:44 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-12-21 21:47:44 +0100
commit19caea8deed209e45a0a652a95a78b1485261d5e (patch)
treed9080c1370ecf4568fb72b293d180b81f5ce56bb
parentd028a94ead7ed366e19be8d187191f73cbe63e2c (diff)
downloadbugzilla-19caea8deed209e45a0a652a95a78b1485261d5e.tar.gz
bugzilla-19caea8deed209e45a0a652a95a78b1485261d5e.tar.xz
Bug 1262457 - the list of comment tags in the 'tags' menu isn't updated in real time
-rw-r--r--extensions/BugModal/web/comments.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/BugModal/web/comments.js b/extensions/BugModal/web/comments.js
index b18f7d3d1..7eb933cfc 100644
--- a/extensions/BugModal/web/comments.js
+++ b/extensions/BugModal/web/comments.js
@@ -285,6 +285,7 @@ $(function() {
// update ui
that.parent('.comment-tag').remove();
renderTags(commentNo, tagsFromDom(container));
+ updateTagsMenu();
// update bugzilla
bugzilla_ajax(
@@ -296,6 +297,7 @@ $(function() {
},
function(data) {
renderTags(commentNo, data);
+ updateTagsMenu();
},
function(message) {
taggingError(commentNo, message);
@@ -438,6 +440,7 @@ $(function() {
},
function(data) {
renderTags(commentNo, data);
+ updateTagsMenu();
},
function(message) {
taggingError(commentNo, message);