projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9ab0f9
)
luci2: properly handle empty hash info, fixes endless loop with expired sids
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 31 Jan 2014 20:59:43 +0000
(20:59 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 31 Jan 2014 20:59:43 +0000
(20:59 +0000)
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index ab7faa87a5611ff61bd3d715e24f1c29ae79056e..6a41e269973c85e12883ff97fa5b0c79b3e249df 100644
(file)
--- a/
luci2/htdocs/luci2/luci2.js
+++ b/
luci2/htdocs/luci2/luci2.js
@@
-364,8
+364,10
@@
function LuCI2()
h += keys[i] + ':' + data[keys[i]];
}
- if (h)
+ if (h
.length
)
location.hash = '#' + h;
+ else
+ location.hash = '';
};
this.getHash = function(key)