diff --git a/cocos2d/core/utils/base-node.js b/cocos2d/core/utils/base-node.js index ba71e9dd84..a183f2de18 100644 --- a/cocos2d/core/utils/base-node.js +++ b/cocos2d/core/utils/base-node.js @@ -263,11 +263,15 @@ var BaseNode = cc.Class(/** @lends cc.Node# */{ this._localZOrder = value; this._sgNode.zIndex = value; - if (!CC_JSB && this._parent) { + if(this._parent) { this._parent._reorderChildDirty = true; this._parent._delaySort(); - cc.eventManager._setDirtyForNode(this); + + if (!CC_JSB) { + cc.eventManager._setDirtyForNode(this); + } } + } } },