Fixes: U4-3606 Handle caching issues from server requests correctly

This commit is contained in:
Shannon
2014-03-13 18:24:37 +11:00
parent 8eaea3fb54
commit 67f8b8f88b
5 changed files with 90 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ function stylesheetResource($q, $http, umbRequestHelper) {
umbRequestHelper.getApiUrl(
"stylesheetApiBaseUrl",
"GetRules",
[{ id: id }]) +"&rnd=" + Math.floor(Math.random()*1001), {cache: false}),
[{ id: id }])),
'Failed to retreive stylesheets ');
},
@@ -92,7 +92,7 @@ function stylesheetResource($q, $http, umbRequestHelper) {
umbRequestHelper.getApiUrl(
"stylesheetApiBaseUrl",
"GetRulesByName",
[{ name: name }]) +"&rnd=" + Math.floor(Math.random()*1001), {cache: false}),
[{ name: name }])),
'Failed to retreive stylesheets ');
}
};