소스 검색

[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>