diff options
Diffstat (limited to 'bugzillaComments.js')
-rw-r--r-- | bugzillaComments.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bugzillaComments.js b/bugzillaComments.js index 83b382d..6ae3e81 100644 --- a/bugzillaComments.js +++ b/bugzillaComments.js @@ -119,7 +119,7 @@ function BaseBugzilla(doc) { BaseBugzilla.prototype = { doc: null, - get installedPackages() { + get: function installedPackages() { // TODO does this really need to by dynamic? let installedPackages = {}; if (gJSONData && ("commentPackages" in gJSONData)) { @@ -142,7 +142,7 @@ BaseBugzilla.prototype = { " <label for='comment_action'>Add Comment: </label>" + " <select id='comment_action'>" + " <option value=''>-- Select Comment from List --</option>" + - "</div>", this.doc) + "</div>", this.doc); $("#comments", this.doc).append(ca); let select = $("#comment_action", this.doc); @@ -158,7 +158,7 @@ BaseBugzilla.prototype = { } } let self = this; - select.change(function() { self.onCommentsDropdownChange() }); + select.change(function() { self.onCommentsDropdownChange(); }); }, onCommentsDropdownChange: function onCommentsDropdownChange() { @@ -325,7 +325,7 @@ RedhatBugzilla.prototype = { //////////////////////////////////////////////////////////////// const bzMap = { "https://bugzilla.mozilla.org/show_bug.cgi": MozillaBugzilla, - "https://bugzilla.redhat.com/show_bug.cgi": RedhatBugzilla, + "https://bugzilla.redhat.com/show_bug.cgi": RedhatBugzilla }; function figureOutBugzilla(doc) { |