ソースを参照

[security] Support for history on HDFS

Enrico Berti 11 年 前
コミット
2013e3c809
1 ファイル変更4 行追加0 行削除
  1. 4 0
      apps/security/src/security/templates/hdfs.mako

+ 4 - 0
apps/security/src/security/templates/hdfs.mako

@@ -300,6 +300,10 @@ ${ tree.import_templates(itemClick='$root.assist.setPath', itemDblClick='$root.a
       }
     });
 
+    window.onpopstate = function() {
+      viewModel.assist.path(window.location.hash.substr(1));
+    };
+
     function resetPathContainer() {
       $(".path-container").attr("style", "min-width: 190px");
       $(".acl-panel").attr("style", "min-width: 190px");