diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-04-26 12:18:08 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-04-26 12:18:08 +0200 |
commit | 1dce63de5a30aa7bd6ce2cbf3169476698f6ef16 (patch) | |
tree | 605803643532f22cccc608bd9947410f8290b18e /bugzillaComments.js | |
parent | 80bc5b6aa6e6a093cd2c2a70a7cf0829afa13b27 (diff) | |
download | bugzilla-triage-1dce63de5a30aa7bd6ce2cbf3169476698f6ef16.tar.gz |
Two attempts to make it at least a little bit compliant with Eclipse/WTP
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) { |