diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-23 16:43:27 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-23 16:43:27 +0200 |
commit | a8a8ab59ff7b9b9b811417a72c8b5cfec0b8a664 (patch) | |
tree | f1f160544d39db2566426bef27190515ccbaa518 /lib/rhbzpage.js | |
parent | f0e8487f8d790c109906b3aa5f4ef3b329cdc1f5 (diff) | |
download | bugzilla-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/rhbzpage.js')
-rw-r--r-- | lib/rhbzpage.js | 5 |
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; } }); } |