run all ajax through apiclient

This commit is contained in:
Luke Pulverenti 2014-07-02 01:16:59 -04:00
parent 683e6f472c
commit db0a6eb632
28 changed files with 55 additions and 46 deletions

View file

@ -117,7 +117,7 @@
var page = this;
var promise1 = ApiClient.getNamedConfiguration("chapters");
var promise2 = $.getJSON(ApiClient.getUrl("Providers/Chapters"));
var promise2 = ApiClient.getJSON(ApiClient.getUrl("Providers/Chapters"));
$.when(promise1, promise2).done(function (response1, response2) {