diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-23 16:52:09 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-23 16:52:09 +0200 |
commit | d676c42ebc5090b220dc683cca77b9a39239cb25 (patch) | |
tree | 7ebaa83c6f0fda688355ca65f10f2feab22fa41e | |
parent | a8a8ab59ff7b9b9b811417a72c8b5cfec0b8a664 (diff) | |
download | bugzilla-triage-d676c42ebc5090b220dc683cca77b9a39239cb25.tar.gz |
Actually QueryUpstream needs t.activate fix as well.
-rw-r--r-- | lib/rhbzpage.js | 4 |
1 files 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; } }); }; |