Skip to content

Commit

Permalink
fixed context bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mlcohen committed Jan 9, 2011
1 parent a55176a commit 8f5a001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frameworks/foundation/system/statechart.js
Expand Up @@ -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 */
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8f5a001

Please sign in to comment.