瀏覽代碼

[oozie] Change Sqoop command field to textarea in the node popup

Romain Rigaux 10 年之前
父節點
當前提交
73ee764

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

@@ -897,7 +897,7 @@
     <div data-bind="visible: $root.isEditing">
       <div data-bind="visible: ! $parent.ooziePropertiesExpanded()" class="nowrap">
         <span data-bind="text: $root.workflow_properties.command.label"></span>
-        <input type="text" data-bind="value: properties.command" />
+        <textarea data-bind="value: properties.command" class="input-xlarge" style="resize:both"></textarea>
 
         <div class="row-fluid">
           <div class="span6" data-bind="template: { name: 'common-properties-parameters' }"></div>

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

@@ -243,7 +243,7 @@ ${ workflow.render() }
           <input type="text" data-bind="value: value, valueUpdate:'afterkeydown', attr: { placeholder: help_text }" class="input-xlarge"/>
           <!-- /ko -->
           <!-- ko if: type() == 'textarea' -->
-          <textarea data-bind="value: value, valueUpdate:'afterkeydown'" class="input-xlarge"></textarea>
+          <textarea data-bind="value: value, valueUpdate:'afterkeydown'" class="input-xlarge" style="resize:both"></textarea>
           <!-- /ko -->
           <!-- ko if: type() == 'workflow' -->
           <select data-bind="options: $root.subworkflows, optionsText: 'name', optionsValue: 'value', value: value"></select>