Skip to content

Commit e185a1a

Browse files
committed
Fix for localstorage.
1 parent 2d2db4b commit e185a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/view-action/toolbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ return Backbone.View.extend({
686686
var updatedModel = this.getData(true);
687687
this.model.set(updatedModel);
688688
this.model.save(this.model.changedAttributes(), {
689-
patch: !this.model.isNew(),
689+
patch: !this.model.isNew() && !Evol.Config.localStorage,
690690
success: function(m){
691691
fnSuccess(m);
692692
that.collection.set(m, {remove:false});

0 commit comments

Comments
 (0)