aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
});
};