Browse Source

Merge pull request #13780 from jbrundage/hpcc_24001

HPCC-24001 Enable readOnly for ECL Archive Viewer

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 years ago
parent
commit
f87799147b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      esp/src/src/ECLArchiveWidget.ts

+ 1 - 1
esp/src/src/ECLArchiveWidget.ts

@@ -86,7 +86,7 @@ export class ECLArchiveWidget {
             .textFileIcon("fa fa-file-code-o")
             .omitRoot(true)
             ;
-        this.editor = new ECLEditor();
+        this.editor = new ECLEditor().readOnly(true);
         this.archiveViewer = new SplitPanel("horizontal");
 
         const wu = Workunit.attach({ baseUrl: "" }, params.Wuid);