aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-24 20:03:57 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-24 20:03:57 +0200
commit955f77978ea6f3f5730571698de07cc77d1fc5a4 (patch)
treec9e342c7ff6c71d98187457bacde49895d2ec70b
parent861297063d99fd1121bbacb8823e0b5ec7e12ca1 (diff)
downloadbugzilla-triage-955f77978ea6f3f5730571698de07cc77d1fc5a4.tar.gz
Even query of our Bugzilla should be done on background.
-rw-r--r--lib/rhbzpage.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 93921ea..ef28175 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -568,7 +568,13 @@ RHBugzillaPage.prototype.queryInNewTab = function(text, component, product) {
+ "&field1-0-2=status_whiteboard&type1-0-2=substring&value1-0-2="
+ text;
urlStr += searchText;
- tabs.open({url: urlStr});
+ tabs.open({
+ url: urlStr,
+ inBackground: true,
+ onOpen: function (t) {
+ t.activate();
+ }
+ });
}
};