aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-23 16:43:27 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-23 16:43:27 +0200
commita8a8ab59ff7b9b9b811417a72c8b5cfec0b8a664 (patch)
treef1f160544d39db2566426bef27190515ccbaa518 /lib
parentf0e8487f8d790c109906b3aa5f4ef3b329cdc1f5 (diff)
downloadbugzilla-triage-a8a8ab59ff7b9b9b811417a72c8b5cfec0b8a664.tar.gz
t.activate() really doesn't exist and we should really use
this.maintCCAddr Fixes #28 and #29
Diffstat (limited to 'lib')
-rw-r--r--lib/rhbzpage.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 7dff883..8c1df55 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -413,9 +413,8 @@ RHBugzillaPage.prototype.setBranding = function() {
}
// we should make visible whether maintCCAddr is in CCList
- if (util.isInList(this.doc.getElementById("assigned_to").value, this.CCList)) {
+ if (util.isInList(this.maintCCAddr, this.CCList)) {
var ccEditBoxElem = this.doc.getElementById("cc_edit_area_showhide");
- // ccEditBoxElem.textContent = "*"+ccEditBoxElem.textContent;
ccEditBoxElem.style.color = "navy";
ccEditBoxElem.style.fontWeight = "bolder";
ccEditBoxElem.style.textDecoration = "underline";
@@ -616,7 +615,7 @@ RHBugzillaPage.prototype.queryInNewTab = function(text, component, product) {
url: urlStr,
inBackground: true,
onOpen: function (t) {
- t.activate();
+ tabs.activeTab = t;
}
});
}