From 44aefa7fe170c49960857e0fad080e1db1c39445 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 13 Jun 2011 23:09:39 +0000 Subject: [PATCH] luci-0.10: merge r7146 --- themes/base/htdocs/luci-static/resources/xhr.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/themes/base/htdocs/luci-static/resources/xhr.js b/themes/base/htdocs/luci-static/resources/xhr.js index 096a04484..23bf96e02 100644 --- a/themes/base/htdocs/luci-static/resources/xhr.js +++ b/themes/base/htdocs/luci-static/resources/xhr.js @@ -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) == '&' ) -- 2.25.1