Skip to content

Commit

Permalink
[JENKINS-11513] type=number for "TCP port for JNLP slave agents"
Browse files Browse the repository at this point in the history
  • Loading branch information
ohtake authored and kohsuke committed Nov 7, 2011
1 parent 8067940 commit a6af173
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -14,8 +14,9 @@ f.optionalBlock( field:"useSecurity", title:_("Enable security"), checked:app.us
checked:port>0, onclick:"\$('sat.port').disabled=false")
label("for":"sat.fixed", _("Fixed"))
text(" : ")
input(type:"text", "class":"number", name:"slaveAgentPort", id:"sat.port",
value: port>0 ? port : null, disabled: port>0 ? null : "true" )
input(type:"number", "class":"number", name:"slaveAgentPort", id:"sat.port",
value: port>0 ? port : null, disabled: port>0 ? null : "true",
min:0, max:65535, step:1)

raw(" ") ////////////////////////////

Expand Down

0 comments on commit a6af173

Please sign in to comment.