Permalink
Browse files

fixed context bugs

  • Loading branch information...
1 parent a55176a commit 8f5a0018c856d8fc8649c740e85c9e0e2363082a @mlcohen mlcohen committed Jan 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 frameworks/foundation/system/statechart.js
@@ -485,7 +485,7 @@ Ki.StatechartManager = {
}
var point = this._gotoStateSuspendedPoint;
- this._executeGotoStateActions(point.gotoState, point.actions, point.marker);
+ this._executeGotoStateActions(point.gotoState, point.actions, point.marker, point.context);
},
/** @private */
@@ -918,7 +918,7 @@ Ki.StatechartManager = {
}
var pending = this._pendingStateTransitions.shift();
if (!pending) return;
- this.gotoState(pending.state, pending.fromCurrentState, pending.useHistory);
+ this.gotoState(pending.state, pending.fromCurrentState, pending.useHistory, pending.context);
},
/** @private

0 comments on commit 8f5a001

Please sign in to comment.