فهرست منبع

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

Enrico Berti 11 سال پیش
والد
کامیت
c0f994be6f
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) {
   self.rebuildTree = function (leaf, paths) {
@@ -441,7 +442,7 @@ var Assist = function (vm, assist) {
       }, 1000);
       }, 1000);
         logGA('get_acls');
         logGA('get_acls');
         $.getJSON('/security/api/hdfs/get_acls', {
         $.getJSON('/security/api/hdfs/get_acls', {
-        'path': self.path(),
+        'path': self.path()
       }, function (data) {
       }, function (data) {
       window.clearTimeout(_isLoading);
       window.clearTimeout(_isLoading);
       if (data != null) {
       if (data != null) {