themes/base: fix xhr.js for https:// access
This commit is contained in:
parent
e9174fbba1
commit
779375e84b
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue