luci-0.10: merge r7146

This commit is contained in:
Jo-Philipp Wich 2011-06-13 23:09:39 +00:00
parent bfcd22f5ef
commit 44aefa7fe1

View file

@ -43,8 +43,7 @@ XHR = function()
var xhr = this._xmlHttp;
var code = this._encode( data );
url = location.protocol + '//' + (location.host || location.hostname) +
( location.port ? ':' + location.port : '' ) + url;
url = location.protocol + '//' + location.host + url;
if( code )
if( url.substr(url.length-1,1) == '&' )