Skip to content
Permalink
Browse files

[FIXED JENKINS-9480] - request for textarea instead of textbox for ex…

…ec command
  • Loading branch information
bap2000 committed May 6, 2011
1 parent dd4b049 commit 497b0bcf23374045ea708bb15778d83d33338140
@@ -32,6 +32,7 @@
<version>1.388</version>
</parent>

<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>publish-over-ssh</artifactId>
<packaging>hpi</packaging>
<name>Publish Over SSH</name>
@@ -68,7 +69,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>publish-over</artifactId>
<version>0.6</version>
<version>0.7-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -24,7 +24,7 @@
~ THE SOFTWARE.
-->

<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:poj="/pojelly">

<script type="text/javascript" src="${rootURL}/plugin/publish-over-ssh/js/pos.js" />
<j:set var="helpUrl" value="${rootURL}/plugin/publish-over-ssh/help/config/"/>
@@ -94,7 +94,7 @@
</f:entry>

<f:entry title="${%execCommand.title}" help="${helpUrl}execCommand.html">
<f:textbox name="execCommand" value="${transfer.execCommand}" checkUrl="${descriptor.publisherDescriptor.getCheckUrl('execCommand')}" clazz="ssh-exec-control"/>
<poj:textarea name="execCommand" value="${transfer.execCommand}" minRows="1" checkUrl="${descriptor.publisherDescriptor.getCheckUrl('execCommand')}" class="ssh-exec-control"/>
</f:entry>

<f:description>
@@ -69,6 +69,9 @@ function bap_blur_inputs(container) {
$(container).getElementsBySelector('input').each(function(inputControl) {
fireEvent(inputControl, 'change');
});
$(container).getElementsBySelector('textarea').each(function(inputControl) {
fireEvent(inputControl, 'change');
});
}

var sshBehave = {

0 comments on commit 497b0bc

Please sign in to comment.
You can’t perform that action at this time.