Merge branch 'master' of ssh://git-mbunkus@lx-office.linet-services.de/~/lx-office-erp
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 3 Mar 2010 12:11:50 +0000 (13:11 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 3 Mar 2010 12:11:50 +0000 (13:11 +0100)
templates/webpages/oe/sales_order_de.html
templates/webpages/oe/sales_order_master.html

index fef6e59..2e5eb1c 100644 (file)
@@ -6,7 +6,7 @@
   <script type="text/javascript">
    $('#cb_show_details').click(function(){ $('[id$="row2"]').toggle() });
   </script>
-  <table width="100%">
+  <table id='display_row' width="100%">
    <tr class="listheading">[% FOREACH header = HEADER %][% IF header.display %]
     <th align="left" nowrap width="[% header.width %]" class="listheading">[% header.value %]</th>[% END %][% END %]
    </tr>
@@ -28,3 +28,6 @@
   </table>
  </td>
 </tr>
+<script type='text/javascript'>
+  $(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() });
+</script>
index 5f7df7d..b9caef4 100644 (file)
@@ -6,7 +6,7 @@
   <script type="text/javascript">
    $('#cb_show_details').click(function(){ $('[id$="row2"]').toggle() });
   </script>
-  <table width="100%">
+  <table id='display_row' width="100%">
    <tr class="listheading">[% FOREACH header = HEADER %][% IF header.display %]
     <th align="left" nowrap width="[% header.width %]" class="listheading">[% header.value %]</th>[% END %][% END %]
    </tr>
@@ -28,3 +28,6 @@
   </table>
  </td>
 </tr>
+<script type='text/javascript'>
+  $(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() });
+</script>