luci-0.10: merge r7144
This commit is contained in:
parent
5cfe1607be
commit
bfcd22f5ef
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 = location.protocol + '//' + location.hostname +
|
||||
url = location.protocol + '//' + (location.host || location.hostname) +
|
||||
( location.port ? ':' + location.port : '' ) + url;
|
||||
|
||||
if( code )
|
||||
|
|
Loading…
Reference in a new issue