From 3184e7f201af05429bedb4fb8a6300e024946c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Thu, 24 Sep 2015 14:31:13 +0200 Subject: Implemented: CodeQ event queue, basic translation infrastructure, reimplemented problem index from JSON data. --- js/codeq/comms.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/codeq/comms.js') 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 -- cgit v1.2.1