This commit is contained in:
Sean Kenny
2014-07-26 15:01:11 +01:00
parent 7f7e945a33
commit 58fdc57018
9 changed files with 26 additions and 23 deletions
+2 -2
View File
@@ -98,11 +98,11 @@ function ResourceManager(options) {
data: data,
dataType: 'json',
cache: false,
success: function (res) {
success: function(res) {
res = res || [];
resources = res;
},
error: function () {
error: function() {
alert("ajax error getting json from " + url);
},
async: false // too much work coordinating callbacks so dumb it down