瀏覽代碼

[security] ACLs are refreshed after a refresh tree for the currently selected node

Enrico Berti 11 年之前
父節點
當前提交
c0f994b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      apps/security/static/js/hdfs.ko.js

+ 2 - 1
apps/security/static/js/hdfs.ko.js

@@ -316,6 +316,7 @@ var Assist = function (vm, assist) {
         }
       }
     });
+    self.getAcls();
   }
 
   self.rebuildTree = function (leaf, paths) {
@@ -441,7 +442,7 @@ var Assist = function (vm, assist) {
       }, 1000);
         logGA('get_acls');
         $.getJSON('/security/api/hdfs/get_acls', {
-        'path': self.path(),
+        'path': self.path()
       }, function (data) {
       window.clearTimeout(_isLoading);
       if (data != null) {