Revision 8abd9ce3
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
1558 | 1558 |
|
1559 | 1559 |
$form->{title} = $locale->text('Add Price Factor'); |
1560 | 1560 |
$form->{callback} ||= build_std_url('action=add_price_factor'); |
1561 |
$::request->{layout}->focus('#description'); |
|
1562 | 1561 |
|
1563 | 1562 |
$form->header(); |
1564 | 1563 |
print $form->parse_html_template('am/edit_price_factor'); |
... | ... | |
1577 | 1576 |
|
1578 | 1577 |
$form->{title} = $locale->text('Edit Price Factor'); |
1579 | 1578 |
$form->{callback} ||= build_std_url('action=add_price_factor'); |
1580 |
$::request->{layout}->focus('#description'); |
|
1581 | 1579 |
|
1582 | 1580 |
AM->get_price_factor(\%myconfig, $form); |
1583 | 1581 |
|
... | ... | |
1665 | 1663 |
|
1666 | 1664 |
$form->{title} = $locale->text('Add Warehouse'); |
1667 | 1665 |
$form->{callback} ||= build_std_url('action=add_warehouse'); |
1668 |
$::request->{layout}->focus('#description'); |
|
1669 | 1666 |
|
1670 | 1667 |
$form->header(); |
1671 | 1668 |
print $form->parse_html_template('am/edit_warehouse'); |
... | ... | |
1688 | 1685 |
|
1689 | 1686 |
$form->{title} = $locale->text('Edit Warehouse'); |
1690 | 1687 |
$form->{callback} ||= build_std_url('action=list_warehouses'); |
1691 |
$::request->{layout}->focus('#description'); |
|
1692 | 1688 |
|
1693 | 1689 |
$form->header(); |
1694 | 1690 |
print $form->parse_html_template('am/edit_warehouse'); |
Auch abrufbar als: Unified diff
$::request->layout->focus() größtenteils durch class="initial_focus" ersetzen