Removing NPL-specific 14-char maxlength from barcode inputs.
authorOwen Leonard <oleonard@myacpl.org>
Mon, 25 Feb 2008 21:34:27 +0000 (10:34 +1300)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 27 Feb 2008 15:02:32 +0000 (09:02 -0600)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl

index e85f1c3..7b2ee12 100644 (file)
@@ -73,7 +73,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
 <div id="checkin_search" class="residentsearch">
     <p class="tip">Scan a barcode to check in:</p>
     <form method="post" action="/cgi-bin/koha/circ/returns.pl">
-        <input name="barcode" id="ret_barcode" size="40" maxlength="14" />
+        <input name="barcode" id="ret_barcode" size="40" />
         <input value="Submit" class="submit" type="submit" />
     </form>
 </div>
index 1e83df3..683167d 100644 (file)
@@ -73,7 +73,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
 <div id="checkin_search" class="residentsearch">
     <p class="tip">Scan a barcode to check in:</p>
     <form method="post" action="/cgi-bin/koha/circ/returns.pl">
-        <input name="barcode" id="ret_barcode" size="40" maxlength="14" />
+        <input name="barcode" id="ret_barcode" size="40" />
         <input value="Submit" class="submit" type="submit" />
     </form>
 </div>
index bb83807..fa8cf9d 100755 (executable)
@@ -72,7 +72,7 @@ YAHOO.util.Event.onContentReady("header_search", function() {
 <div id="checkin_search" class="residentsearch">
     <p class="tip">Scan a barcode to check in:</p>
     <form method="post" action="/cgi-bin/koha/circ/returns.pl">
-        <input name="barcode" id="ret_barcode" size="40" maxlength="14" />
+        <input name="barcode" id="ret_barcode" size="40" />
         <input value="Submit" class="submit" type="submit" />
     </form>
 </div><!-- /TMPL_IF -->
index a4a0e1a..6fc1664 100644 (file)
             <label for="barcode">Enter item barcode: </label>
 
 <!-- TMPL_IF NAME="overduecharges" -->
-<input name="barcode" id="barcode" size="14" maxlength="14" class="focus" onfocus="if(this.form.exemptcheck.checked == true) {this.className='alert'} else {this.className='focus'};" onblur="this.className='unfocus';"   />
+<input name="barcode" id="barcode" size="14" class="focus" onfocus="if(this.form.exemptcheck.checked == true) {this.className='alert'} else {this.className='focus'};" onblur="this.className='unfocus';"   />
 <!-- TMPL_ELSE -->
-<input name="barcode" id="barcode" size="14" maxlength="14" class="focus" />
+<input name="barcode" id="barcode" size="14" class="focus" />
 <!-- /TMPL_IF -->
 
             <input type="submit" class="submit" value="Submit" />
index f27cd01..9ef3bc0 100644 (file)
@@ -193,7 +193,7 @@ $(document).ready(function(){
         <ol>
             <li>
                 <label for="addbarcode">Barcode:</label>
-                <input name="addbarcode" type="text" id="addbarcode" size="14" maxlength="14" />
+                <input name="addbarcode" type="text" id="addbarcode" size="14" />
                 <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
                 <input type="hidden" name="modifyshelfcontents" value="1" />
                 <input type="submit" value="Add" />