Skip to content

Commit

Permalink
Bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
dima committed Jan 15, 2011
1 parent a3b9f22 commit 92e9812
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion framework/src/org/restfulx/controllers/ChangeController.as
Expand Up @@ -161,7 +161,9 @@ package org.restfulx.controllers {
if (models.length > 0) {
notifiedPushStart = true;
dispatchEvent(new PushStartEvent);
pushModels.push(models);
models.forEach(function(o:Class):void {
pushModels.push(o);
});
for each (var model:Class in models) {
source.dirty(model, new ItemResponder(onDirtyChanges, onDirtyFault));
}
Expand Down Expand Up @@ -269,6 +271,7 @@ package org.restfulx.controllers {
throw new Error(error);
}));
}
pushModels = new Array();
CursorManager.removeBusyCursor();
Rx.enableUndoRedo = canUndoRedo;
canUndoRedo = false;
Expand Down

0 comments on commit 92e9812

Please sign in to comment.