aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-18 23:55:17 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-18 23:55:17 +0200
commit6bfea9fe58a028de3262f04275149b3495654ef8 (patch)
tree50b8180bca77c67ec9b135a047b6748c022fba53 /lib/bzpage.js
parentd61189a4f67a321c8181f5e5ffaf50cc57e3b4c1 (diff)
downloadbugzilla-triage-6bfea9fe58a028de3262f04275149b3495654ef8.tar.gz
Make chip magic working again0.14
This was tough, but finally this fixes #24.
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r--lib/bzpage.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index 019547a..bb9e58f 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -384,6 +384,7 @@ BZPage.prototype.createNewButton = function createNewButton (location, after, pk
// creation of button might be conditional on existence of data in constantData
if ("ifExist" in cmdObj) {
if (!(cmdObj.ifExist in this.constantData)) {
+ console.log("Element with id " + newId + " won't be created!");
return ;
}
}