branch | stable |
changeset 7122 | 3b0f1c2af20f |
parent 6952 | 7de13eb473e3 |
child 7199 | 589801acf08e |
--- a/web/data/cubicweb.ajax.js Mon Mar 28 16:42:54 2011 +0200 +++ b/web/data/cubicweb.ajax.js Mon Mar 28 17:39:21 2011 +0200 @@ -283,7 +283,7 @@ * dictionary, `reqtype` the HTTP request type (get 'GET' or 'POST'). */ function loadRemote(url, form, reqtype, sync) { - if (!url.toLowerCase().startswith(baseuri())) { + if (!url.toLowerCase().startswith(baseuri().toLowerCase())) { url = baseuri() + url; } if (!sync) {