diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-01-20 16:00:56 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-01-20 16:00:56 +0100 |
commit | 8b145a758d12871e705adbd7689598edd5dfa6c3 (patch) | |
tree | 3826c6dc1f12d9b519539d14013139f763045949 | |
parent | 0c0fbbf5492e3a9ec9f8e4a1c9713883d3b350ac (diff) | |
download | bugzilla-triage-8b145a758d12871e705adbd7689598edd5dfa6c3.tar.gz |
Upgrading to the latest API
.activate() return back again.
-rw-r--r-- | data/bzpage.js | 4 | ||||
-rw-r--r-- | data/rhbzpage.js | 4 |
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(); } }); } |