aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-24 23:18:11 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-24 23:18:11 +0200
commitd428a8122cbc803ef99acd6db03323ceb5b76f53 (patch)
treee74fa386274712a260fef11ff752c333d74a765c /lib/rhbzpage.js
parentc6b878fcd9291c6f0eb310f6f9c76cd0b6289030 (diff)
downloadbugzilla-triage-d428a8122cbc803ef99acd6db03323ceb5b76f53.tar.gz
Now when we know how to load in background, do it always.
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 61c9fc7..4458e28 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -649,7 +649,11 @@ RHBugzillaPage.prototype.queryUpstream = function() {
var queryUpstreamBugsURLArray = this.constantData.queryUpstreamBug;
var urlBase = util.filterByRegexp(queryUpstreamBugsURLArray, this.component);
tabs.open({
- url: urlBase + text
+ url: urlBase + text,
+ inBackground: true,
+ onOpen: function (tab) {
+ tabs.activeTab = tab;
+ }
});
}
};