Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 23a659bb

Von Sven Schöling vor etwa 15 Jahren hinzugefügt

  • ID 23a659bbd2b771f3f25592386842eaf8c6b4bade
  • Vorgänger b7067f51
  • Nachfolger e74aaa36

Neues Fokusverhalten für Belegmasken: Fokus wird jetzt in das Letzte Beschreibungsfeld gesetzt, sofern es mehr als eine Artikelzeile gibt.

Fix für Bug 1135.

Unterschiede anzeigen:

templates/webpages/oe/sales_order_de.html
<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>
......
</table>
</td>
</tr>
<script type='text/javascript'>
$(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() });
</script>
templates/webpages/oe/sales_order_master.html
<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>
......
</table>
</td>
</tr>
<script type='text/javascript'>
$(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() });
</script>

Auch abrufbar als: Unified diff