Skip to content

Commit

Permalink
added next component id correction
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jan 29, 2013
1 parent d23f841 commit d924bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attach.js
Expand Up @@ -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
Expand Down

0 comments on commit d924bba

Please sign in to comment.