Bug 34146: Add a client-side check with maxlength too
Test plan: Try to add more than 3 characters now in the number of copies. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit143693e217
) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commite11650c69c
) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
58cbb8f450
commit
83346c7154
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@
|
|||
</span>
|
||||
<fieldset id="add_multiple_copies_span">
|
||||
<label for="number_of_copies">Number of copies of this item to add: </label>
|
||||
<input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" />
|
||||
<input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" maxlength="3" />
|
||||
<input type="submit" id="add_multiple_copies_submit" name="add_multiple_copies_submit" value="Add" onclick="javascript:return Check(this.form) && CheckMultipleAdd(this.form.number_of_copies.value);" /> <a href="#" id="cancel_add_multiple" class="cancel">Cancel</a>
|
||||
<div class="hint"><p>Maximum currently set to 1000. The barcode you enter will be incremented for each additional item.</p></div>
|
||||
</fieldset>
|
||||
|
|
Loading…
Reference in a new issue