[Koha-cvs] koha/koha-tmpl/intranet-tmpl/ccfls/en/rotatingC... [dev_week]

Kyle Hall kyle.m.hall at gmail.com
Thu Aug 16 17:25:35 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Kyle Hall <kylemhall>	07/08/16 15:25:35

Modified files:
	koha-tmpl/intranet-tmpl/ccfls/en/rotatingCollections: 
	                                                      addItems.tmpl 

Log message:
	Added an autofocus on load to the barcode textfield of the form.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/ccfls/en/rotatingCollections/addItems.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=1.1.2.2

Patches:
Index: addItems.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/ccfls/en/rotatingCollections/Attic/addItems.tmpl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- addItems.tmpl	23 Apr 2007 14:54:54 -0000	1.1.2.1
+++ addItems.tmpl	16 Aug 2007 15:25:35 -0000	1.1.2.2
@@ -28,7 +28,7 @@
       </div>
 
       <div>
-        <form action="addItems.pl" method="post">
+        <form name="mainform" id="mainform" action="addItems.pl" method="post">
         <table>
           <tr>
             <td><label for="barcode">Barcode: </label></td>
@@ -76,4 +76,13 @@
     </dd>
   </dl>
 </body>
+
+<script type="text/javascript">
+<!--
+function pageSetup( )
+{
+document.forms['mainform'].elements[0].focus();
+}
+// -->
+</script>
 </html>





More information about the Koha-cvs mailing list