فهرست منبع

[oozie] Display the Job XML property in the editor

Romain Rigaux 10 سال پیش
والد
کامیت
dfc95524f2
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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>