Bugzilla – Attachment 19030 Details for
Bug 10473
Prompt for confirmation if more than 99 items are being added
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Max length should be 2 digit for adding multiple copies in add items page.
0001-Bug-10473-Max-length-should-be-2-digit-for-adding-mu.patch (text/plain), 1.77 KB, created by
Amit Gupta
on 2013-06-15 11:44:23 UTC
(
hide
)
Description:
Max length should be 2 digit for adding multiple copies in add items page.
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2013-06-15 11:44:23 UTC
Size:
1.77 KB
patch
obsolete
>From cf6fb982098236b0a4bc95a57a162b4e3cefc221 Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amitddng135@gmail.com> >Date: Sat, 15 Jun 2013 17:10:18 +0530 >Subject: [PATCH] Bug 10473 - Max length should be 2 digit for adding multiple > copies in add items page. > >Test Plan. >1) Create a bibliographic record. >2) Create a item record click on Add multiple copies >button a text box appear please enter number of copies >you want to add it will not take more than 99. >--- > .../prog/en/modules/cataloguing/additem.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 40d0a9a..295c11b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -217,7 +217,7 @@ $(document).ready(function() { > <input type="submit" name="add_duplicate_submit" value="Add & duplicate" onclick="return Check(this.form)" /> > <input type="submit" name="add_multiple_copies" value="Add multiple copies" onclick="javascript:this.nextSibling.style.visibility='visible';document.f.number_of_copies.focus(); return false;" /><span id="add_multiple_copies_span" style="visibility:hidden"> > <label for="number_of_copies">Number of copies to add : </label> >- <input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" /> >+ <input type="text" id="number_of_copies" maxlength="2" name="number_of_copies" value="" size="2" /> > <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);" /> > </span> > >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10473
:
19030
|
31722
|
31780
|
31889
|
31890
|
33577