Update upstock.hamlet
touch in-/decrement
This commit is contained in:
parent
b51dd5e5d2
commit
050b4f257f
1 changed files with 3 additions and 0 deletions
|
@ -9,3 +9,6 @@ $doctype 5
|
||||||
^{upstockWidget}
|
^{upstockWidget}
|
||||||
<div>
|
<div>
|
||||||
<input type=submit value="_{MsgFillup}">
|
<input type=submit value="_{MsgFillup}">
|
||||||
|
<input onclick="e=document.getElementById('hident2');e.value=parseInt(e.value)+1;" value="_{MsgIncrement}" type="button">
|
||||||
|
<input onclick="e=document.getElementById('hident2');e.value=(parseInt(e.value)>=1)?parseInt(e.value)-1:0;" value="_{MsgDecrement}" type="button">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue