瀏覽代碼

HPCC-21908 Not able to protect/ unprotect Logical Files

Protect feature fixed in Logical Files.

Signed-off-by: Aswani, Kunal <kunal.aswani@lexisnexis.com>
Aswani, Kunal 6 年之前
父節點
當前提交
af902b6980
共有 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 () {