diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-22 04:57:30 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-04-22 12:20:31 +0200 |
commit | 3fba7044de4b09e12077a6ef3dbb5d0fad9580e5 (patch) | |
tree | e22319929b64615842485100af2dc698e51d06bf /data/lib/rhbzpage.js | |
parent | 44f5320786bf11d36a93a8afce059dec93084361 (diff) | |
download | bugzilla-triage-3fba7044de4b09e12077a6ef3dbb5d0fad9580e5.tar.gz |
Fixed other functions broken
* not all functions are able to accept the null as return value (directly
or indirectly) of filterByRegexp
* finally make all logic not to affect components which shouldn't be
bothered with the test.
Diffstat (limited to 'data/lib/rhbzpage.js')
-rw-r--r-- | data/lib/rhbzpage.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js index 327a1bf..55e0cc5 100644 --- a/data/lib/rhbzpage.js +++ b/data/lib/rhbzpage.js @@ -469,7 +469,9 @@ function RHBZinit() { if (constantData.xorgBugsCategories) { var XBZlist = filterByRegexp(constantData. xorgBugsCategories, getComponent()); - makeBugCategoriesList(XBZlist); + if (XBZlist) { + makeBugCategoriesList(XBZlist); + } } // Dig out backtrace protection against double-firing? |