prevent caching of GET requests for xblock student view

STUD-1691
This commit is contained in:
zubair-arbi
2014-06-04 14:45:34 +05:00
parent c08831b4b6
commit dbd9e56c6c
5 changed files with 9 additions and 12 deletions

View File

@@ -38,6 +38,7 @@ define ["jquery", "underscore", "gettext", "xblock/runtime.v1",
$.ajax(
url: "#{decodeURIComponent(@model.url())}/#{viewName}"
type: 'GET'
cache: false
headers:
Accept: 'application/json'
success: (fragment) =>