HDFS-9877. HDFS Namenode UI: Fix browsing directories that need to be encoded (Ravi Prakash via aw)
(cherry picked from commit 15f018434c
)
This commit is contained in:
parent
b9eedc24a6
commit
b1466b8124
|
@ -33,7 +33,7 @@
|
|||
$(window).bind('hashchange', function () {
|
||||
$('#alert-panel').hide();
|
||||
|
||||
var dir = window.location.hash.slice(1);
|
||||
var dir = decodeURIComponent(window.location.hash.slice(1));
|
||||
if(dir == "") {
|
||||
dir = "/";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue