aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-16 19:01:46 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-16 19:01:46 +0200
commitf77aee9c533e72cfbc141755894946f09a256c9e (patch)
treef93eb6fce81e485cdff249c61c8af543e1f987ac /lib/rhbzpage.js
parent255e556c63171704c28c00dfeffc71d79bc9d78a (diff)
downloadbugzilla-triage-f77aee9c533e72cfbc141755894946f09a256c9e.tar.gz
Make "Query upstream" button working again.
Fix #22
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index bc12cb9..44b3265 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -162,7 +162,7 @@ RHBugzillaPage.prototype.setDefaultAssignee = function() {
};
/**
- * Auxiliary function to computer more complicated resolution
+ * Auxiliary function to compute more complicated resolution
*/
RHBugzillaPage.prototype.closeSomeRelease = function() {
// for RAWHIDE close as RAWHIDE,
@@ -619,7 +619,7 @@ RHBugzillaPage.prototype.queryUpstream = function() {
var text = this.getSelectionOrClipboard();
if (text) {
text = encodeURIComponent(text.trim());
- var queryUpstreamBugsURLArray = self.data.load("queryUpstreamBug.json");
+ var queryUpstreamBugsURLArray = this.constantData.queryUpstreamBug;
var urlBase = util.filterByRegexp(queryUpstreamBugsURLArray, this.component);
tabs.open({
url: urlBase + text,