aboutsummaryrefslogtreecommitdiffstats
path: root/data/bzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-01-20 16:00:56 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-01-20 16:00:56 +0100
commit8b145a758d12871e705adbd7689598edd5dfa6c3 (patch)
tree3826c6dc1f12d9b519539d14013139f763045949 /data/bzpage.js
parent0c0fbbf5492e3a9ec9f8e4a1c9713883d3b350ac (diff)
downloadbugzilla-triage-8b145a758d12871e705adbd7689598edd5dfa6c3.tar.gz
Upgrading to the latest API
.activate() return back again.
Diffstat (limited to 'data/bzpage.js')
-rw-r--r--data/bzpage.js4
1 files changed, 2 insertions, 2 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();
}
});
}