themes/base: fix xhr.js for https:// access

This commit is contained in:
Jo-Philipp Wich 2010-11-18 10:23:23 +00:00
parent e9174fbba1
commit 779375e84b

View file

@ -43,7 +43,7 @@ XHR = function()
var xhr = this._xmlHttp;
var code = this._encode( data );
url = 'http://' + location.hostname +
url = location.protocol + '//' + location.hostname +
( location.port ? ':' + location.port : '' ) + url;
if( code )