projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfcd22f
)
luci-0.10: merge r7146
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 13 Jun 2011 23:09:39 +0000
(23:09 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 13 Jun 2011 23:09:39 +0000
(23:09 +0000)
themes/base/htdocs/luci-static/resources/xhr.js
patch
|
blob
|
history
diff --git
a/themes/base/htdocs/luci-static/resources/xhr.js
b/themes/base/htdocs/luci-static/resources/xhr.js
index 096a0448474159ee8501fda583df6b28cb20e824..23bf96e0210d5f6f5d02c0cc902236270deb1c17 100644
(file)
--- 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) == '&' )