aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logger.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-24 23:18:11 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-24 23:18:11 +0200
commitd428a8122cbc803ef99acd6db03323ceb5b76f53 (patch)
treee74fa386274712a260fef11ff752c333d74a765c /lib/logger.js
parentc6b878fcd9291c6f0eb310f6f9c76cd0b6289030 (diff)
downloadbugzilla-triage-d428a8122cbc803ef99acd6db03323ceb5b76f53.tar.gz
Now when we know how to load in background, do it always.
Diffstat (limited to 'lib/logger.js')
-rw-r--r--lib/logger.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/logger.js b/lib/logger.js
index 2e8101f..71514c9 100644
--- a/lib/logger.js
+++ b/lib/logger.js
@@ -112,11 +112,13 @@ Logger.prototype.createBlankPage = function (ttl, bodyBuildCB) {
var logTab = tabs.open({
url: "about:blank",
+ inBackground: true,
onOpen: function (tab) {
var otherDoc = tab.contentDocument;
otherDoc.title = title;
otherDoc.body.innerHTML = "<h1>" + title + "</h1>";
bodyBuildCB.call(that, otherDoc.body);
+ tabs.activeTab = tab;
}
});
};