aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/otherButtons.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-04-29 13:38:04 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:51:40 +0200
commit5371dac76e4cfed85033ae0cf161d7ad2dbfb83f (patch)
tree9126616ec4ba70124871299891769e4d6133a5a5 /data/lib/otherButtons.js
parent272ab432ddc4562237c7235f8e0ab8a11bad3d3d (diff)
downloadbugzilla-triage-5371dac76e4cfed85033ae0cf161d7ad2dbfb83f.tar.gz
Incompatibility bits.
* global onMessage is not chic anymore, replacing with self.on handler. * filterByRegexp returns string and could return null. Make sure we can survive it.
Diffstat (limited to 'data/lib/otherButtons.js')
-rw-r--r--data/lib/otherButtons.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index ab8ec35..0e7b408 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -78,7 +78,7 @@ function addingEmbelishments(list) {
var maintCCAddr = "";
if (constantData.CCmaintainer) {
maintCCAddr = filterByRegexp(constantData.CCmaintainer,
- getComponent())[0]; // filterByRegexp returns array, not string
+ getComponent()); // filterByRegexp returns string, not array, now
}
// we should make visible whether maintCCAddr is in CCList