Skip to content

Commit

Permalink
Preventing caching on Breeze ajax requests
Browse files Browse the repository at this point in the history
Closes #56
  • Loading branch information
domholmes committed Mar 27, 2014
1 parent a3fa89d commit 96ee81a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Web/Squirrel/Scripts/dataaccess/reminderRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ sr.ReminderRepository = function () {
.fail(failCallback);
}

breeze.config.getAdapterInstance("ajax").defaultSettings = { cache: false };

var valOpts = episodeManager.validationOptions.using({ validateOnAttach: false });
episodeManager.setProperties({ validationOptions: valOpts });

Expand Down

0 comments on commit 96ee81a

Please sign in to comment.