From d676c42ebc5090b220dc683cca77b9a39239cb25 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 23 Jul 2010 16:52:09 +0200 Subject: Actually QueryUpstream needs t.activate fix as well. --- lib/rhbzpage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js index 8c1df55..38b3096 100644 --- a/lib/rhbzpage.js +++ b/lib/rhbzpage.js @@ -655,7 +655,7 @@ RHBugzillaPage.prototype.sendBugUpstream = function() { var urlStr = util.filterByRegexp(JSON.parse(self.data.load("newUpstreamBug.json")), this .getOptionValue("component")); - var ret = tabs.open({ + tabs.open({ url: urlStr, inBackground: true, onOpen: function (tab) { @@ -665,7 +665,7 @@ RHBugzillaPage.prototype.sendBugUpstream = function() { .getElementById("short_desc_nonedit_display").textContent .trim(); otherElems.namedItem("comment").value = that.collectComments(); - ret.focus(); + tabs.activeTab = tab; } }); }; -- cgit