HDFS-9877. HDFS Namenode UI: Fix browsing directories that need to be encoded (Ravi Prakash via aw)

This commit is contained in:
Allen Wittenauer 2016-06-03 17:06:29 -07:00
parent 713cb71820
commit 15f018434c
1 changed files with 1 additions and 1 deletions

View File

@ -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 = "/";
}