changeset 8260 | 5a81fa526b30 |
parent 7943 | ad0581296e2c |
child 9377 | 4e0d8f06efbc |
--- a/web/data/cubicweb.widgets.js Tue Feb 21 16:58:43 2012 +0100 +++ b/web/data/cubicweb.widgets.js Thu Feb 23 12:15:52 2012 +0100 @@ -45,11 +45,11 @@ }); function postJSON(url, data, callback) { - return jQuery.post(url, data, callback, 'json'); + return jQuery.post(url, data, callback, AJAX_BASE_URL); } function getJSON(url, data, callback) { - return jQuery.get(url, data, callback, 'json'); + return jQuery.get(url, data, callback, AJAX_BASE_URL); }