projects
/
project
/
luci2
/
ui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci2: properly handle empty hash info, fixes endless loop with expired sids
[project/luci2/ui.git]
/
luci2
/
htdocs
/
luci2
/
luci2.js
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index
ab7faa8
..
6a41e26
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)