From 6bfea9fe58a028de3262f04275149b3495654ef8 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 18 Jul 2010 23:55:17 +0200 Subject: Make chip magic working again This was tough, but finally this fixes #24. --- lib/bzpage.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/bzpage.js') 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 ; } } -- cgit