luci-0.10: merge r7144

This commit is contained in:
Jo-Philipp Wich 2011-06-13 21:58:34 +00:00
parent 5cfe1607be
commit bfcd22f5ef

View file

@ -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 )