diff options
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r-- | js/codeq/comms.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js index f9e49ae..2d934bd 100644 --- a/js/codeq/comms.js +++ b/js/codeq/comms.js @@ -169,7 +169,7 @@ ajaxGet = function (url) { return Q.Promise(function (resolve, reject, notify) { $.ajax({ - dataType: 'application/json', + dataType: 'json', type: 'GET', url: url, error: function (jqXHR, textStatus, errorThrown) { @@ -206,6 +206,7 @@ ajaxPrefix[ajaxPrefix.length - 1] = ''; ajaxPrefix = ajaxPrefix.join('/'); } + ajaxPrefix = ajaxPrefix + 'data/'; // ================================================================================ // This module's API methods |