aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/bzpage.js4
-rw-r--r--data/rhbzpage.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/data/bzpage.js b/data/bzpage.js
index cb539dc..37c53d2 100644
--- a/data/bzpage.js
+++ b/data/bzpage.js
@@ -1029,8 +1029,8 @@ BZPage.prototype.queryInNewTab = function(text, component, product) {
tabs.open({
url: urlStr,
inBackground: true,
- onOpen: function (t) {
- tabs.activeTab = t;
+ onReady: function (t) {
+ t.activate();
}
});
}
diff --git a/data/rhbzpage.js b/data/rhbzpage.js
index 10090a7..3cb21e6 100644
--- a/data/rhbzpage.js
+++ b/data/rhbzpage.js
@@ -588,8 +588,8 @@ RHBugzillaPage.prototype.queryUpstream = function() {
tabs.open({
url: urlBase + text,
inBackground: true,
- onOpen: function (tab) {
- tabs.activeTab = tab;
+ onReady: function (tab) {
+ tab.activate();
}
});
}