aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-23 16:52:09 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-23 16:52:09 +0200
commitd676c42ebc5090b220dc683cca77b9a39239cb25 (patch)
tree7ebaa83c6f0fda688355ca65f10f2feab22fa41e /lib
parenta8a8ab59ff7b9b9b811417a72c8b5cfec0b8a664 (diff)
downloadbugzilla-triage-d676c42ebc5090b220dc683cca77b9a39239cb25.tar.gz
Actually QueryUpstream needs t.activate fix as well.
Diffstat (limited to 'lib')
-rw-r--r--lib/rhbzpage.js4
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;
}
});
};