浏览代码

[oozie] Display the Job XML property in the editor

Romain Rigaux 10 年之前
父节点
当前提交
dfc9552
共有 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>