aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bzpage.js
diff options
context:
space:
mode:
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 ;
}
}