Procházet zdrojové kódy

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

Enrico Berti před 11 roky
rodič
revize
c0f994be6f
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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) {