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:
e9174fb
)
themes/base: fix xhr.js for https:// access
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 18 Nov 2010 10:23:23 +0000
(10:23 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 18 Nov 2010 10:23:23 +0000
(10:23 +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 3a30e04686490bda56314b97f07881f5779f486b..a146fa8a1862054f22ad6daf91b345794f36d9be 100644
(file)
--- a/
themes/base/htdocs/luci-static/resources/xhr.js
+++ b/
themes/base/htdocs/luci-static/resources/xhr.js
@@
-43,7
+43,7
@@
XHR = function()
var xhr = this._xmlHttp;
var code = this._encode( data );
- url =
'http:
//' + location.hostname +
+ url =
location.protocol + '
//' + location.hostname +
( location.port ? ':' + location.port : '' ) + url;
if( code )