Quellcode durchsuchen

[oozie] Display the Job XML property in the editor

Romain Rigaux vor 10 Jahren
Ursprung
Commit
dfc95524f2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      apps/oozie/src/oozie/templates/editor2/common_workflow.mako

+ 2 - 2
apps/oozie/src/oozie/templates/editor2/common_workflow.mako

@@ -365,9 +365,9 @@
       ${ _('Delete') } <i class="fa fa-plus"></i>
     </a>
 
-    <!-- ko if: properties.job_xml -->
+    <!-- ko if: properties.job_xml != null -->
       <h6>${ _('Job XML') }</h6>
-      <input type="text" class="input-xlarge filechooser-input seventy" data-bind="filechooser: properties.job_xml, filechooserOptions: globalFilechooserOptions, hdfsAutocomplete: properties.job_xml, attr: { placeholder: $root.workflow_properties.job_xml.help_text }" validate="nonempty"/>
+      <input type="text" class="input-xlarge filechooser-input seventy" data-bind="filechooser: properties.job_xml, filechooserOptions: globalFilechooserOptions, hdfsAutocomplete: properties.job_xml, attr: { placeholder: $root.workflow_properties.job_xml.help_text }"/>
     <!-- /ko -->
 
     <h6>