Skip to content

Commit

Permalink
Properly pass the global setting for revert(), refs fixes #15157 !strict
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.dojotoolkit.org/src/dojox/trunk@30761 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
kriszyp committed Mar 5, 2013
1 parent 13f3aa3 commit 9cd4956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/JsonRestStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ var JsonRestStore = declare("dojox.data.JsonRestStore", ServiceStore,
// - global:
// This will cause the revert to undo all the changes for all
// JsonRestStores in a single operation.
rpcJsonRest.revert(kwArgs && kwArgs.global && this.service);
rpcJsonRest.revert(!(kwArgs && kwArgs.global) && this.service);
},

isDirty: function(item){
Expand Down

0 comments on commit 9cd4956

Please sign in to comment.