Skip to content

Commit

Permalink
Client-side form validation
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Mar 29, 2016
1 parent 37440f1 commit 143ccab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/src/main/resources/hudson/model/View/newJob.jelly
Expand Up @@ -55,12 +55,10 @@ THE SOFTWARE.
<img src="${resURL}/images/48x48/copy.png" />
</div>
<label>${%Copy from}</label>
<input type="text" id="from" name="from" field="copyNewItemFrom" />
<j:set var="descriptor" value="${it.descriptor}" />
<s:textbox id="from" name="from" field="copyNewItemFrom"/>
<div id="copyfrom-validation-required" class="input-validation-message input-message-disabled">&#187; ${%CopyFrom.validation.required}</div>
</div>
<label>${%Copy from}</label>
<j:set var="descriptor" value="${it.descriptor}" />
<s:textbox id="from" name="from" field="copyNewItemFrom"/>
</div>
</j:if>

Expand Down

0 comments on commit 143ccab

Please sign in to comment.