Permalink
Browse files

Fix error callback in localStorage sync

  • Loading branch information...
1 parent 2849d9e commit c530b49370ca25ba2b36b84de65882ff37abec3c @caseywebdev caseywebdev committed Feb 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/backbone-localstorage.js
@@ -112,7 +112,7 @@ Backbone.LocalStorage.sync = window.Store.sync = Backbone.localSync = function(m
if (resp) {
options.success(resp);
} else {
- options.error(model, options);
+ options.error('Record not found.');
}
};

0 comments on commit c530b49

Please sign in to comment.