From f77aee9c533e72cfbc141755894946f09a256c9e Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 16 Jul 2010 19:01:46 +0200 Subject: Make "Query upstream" button working again. Fix #22 --- lib/rhbzpage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rhbzpage.js') 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, -- cgit