Browse Source

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

Enrico Berti 11 years ago
parent
commit
c0f994be6f
1 changed files with 2 additions and 1 deletions
  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) {