浏览代码

Merge pull request #12463 from kunalaswani/HPCC-21908new

HPCC-21908 Not able to protect/unprotect Logical Files

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 年之前
父节点
当前提交
d05cb18378
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      esp/src/eclwatch/LFDetailsWidget.js

+ 5 - 0
esp/src/eclwatch/LFDetailsWidget.js

@@ -99,6 +99,7 @@ define([
                 this.replicateSourceLogicalFile = registry.byId(this.id + "ReplicateSourceLogicalFile");
                 this.replicateDropDown = registry.byId(this.id + "ReplicateDropDown");
                 this.desprayIPSelect = registry.byId(this.id + "DesprayTargetIPAddress");
+                this.isProtected = registry.byId(this.id + "isProtected");
                 var context = this;
                 var origOnOpen = this.desprayTooltiopDialog.onOpen;
                 this.desprayTooltiopDialog.onOpen = function () {
@@ -261,6 +262,10 @@ define([
                     Groups: true
                 });
                 this.logicalFile.refresh();
+
+                this.isProtected.on("change", function(evt){
+                    context._onSave();
+                });
             },
 
             initTab: function () {