Explorar el Código

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 hace 5 años
padre
commit
f87799147b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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")
             .textFileIcon("fa fa-file-code-o")
             .omitRoot(true)
             .omitRoot(true)
             ;
             ;
-        this.editor = new ECLEditor();
+        this.editor = new ECLEditor().readOnly(true);
         this.archiveViewer = new SplitPanel("horizontal");
         this.archiveViewer = new SplitPanel("horizontal");
 
 
         const wu = Workunit.attach({ baseUrl: "" }, params.Wuid);
         const wu = Workunit.attach({ baseUrl: "" }, params.Wuid);