[ajax] apply Ronan Dunklau patch closing #1433305: loadRemote js function failure on Firefox 4 with upper cased base domain name
--- a/web/data/cubicweb.ajax.js Thu Jan 20 16:36:09 2011 +0100
+++ b/web/data/cubicweb.ajax.js Thu Jan 20 16:45:21 2011 +0100
@@ -283,7 +283,7 @@
* dictionary, `reqtype` the HTTP request type (get 'GET' or 'POST').
*/
function loadRemote(url, form, reqtype, sync) {
- if (!url.startswith(baseuri())) {
+ if (!url.toLowerCase().startswith(baseuri())) {
url = baseuri() + url;
}
if (!sync) {