From d924bbac4aeb24b4c411cdd1dc0e2972b29bf695 Mon Sep 17 00:00:00 2001 From: guybedford Date: Tue, 29 Jan 2013 13:30:23 +0200 Subject: [PATCH] added next component id correction --- attach.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attach.js b/attach.js index 44d8295..ea8863e 100644 --- a/attach.js +++ b/attach.js @@ -68,7 +68,7 @@ if (false) define({}); // note down that there is a controller for this zid. Any attachment attempts then given a callback. if ($z._nextComponentId <= zid.substr(1)) - $z.nextComponentId = parseInt(zid.substr(1)) + 1; + $z._nextComponentId = parseInt(zid.substr(1)) + 1; $z._components[zid] = true; // require zest and the component id to do the enhancements