Browse Source

rollback change from ajax - back to getJSON

pull/814/head
gotjosh 9 years ago
parent
commit
a2b274f1c0
  1. 4
      build/js/timeline.js

4
build/js/timeline.js

@ -531,8 +531,8 @@ if(typeof VMM != 'undefined') {
var colon = url.indexOf(':');
url = url.substr(colon+1);
}
return jQuery.ajax(url, data, callback);
//JSG 2015.Aug.24 changed from getJSON to ajax based on:
return jQuery.getJSON(url, data, callback);
//JSG 2015.Aug.24 return jQuery.ajax(url, data, callback); changed from getJSON to ajax based on:
//http://stackoverflow.com/questions/1002367/jquery-ajax-jsonp-ignores-a-timeout-and-doesnt-fire-the-error-event
}

Loading…
Cancel
Save