Revision f5c4ca49
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
1590 | 1590 |
|
1591 | 1591 |
$form->{title} = $locale->text('Add Price Factor'); |
1592 | 1592 |
$form->{callback} ||= build_std_url('action=add_price_factor'); |
1593 |
$form->{fokus} = 'description';
|
|
1593 |
$::request->{layout}->focus('#description');
|
|
1594 | 1594 |
|
1595 | 1595 |
$form->header(); |
1596 | 1596 |
print $form->parse_html_template('am/edit_price_factor'); |
... | ... | |
1609 | 1609 |
|
1610 | 1610 |
$form->{title} = $locale->text('Edit Price Factor'); |
1611 | 1611 |
$form->{callback} ||= build_std_url('action=add_price_factor'); |
1612 |
$form->{fokus} = 'description';
|
|
1612 |
$::request->{layout}->focus('#description');
|
|
1613 | 1613 |
|
1614 | 1614 |
AM->get_price_factor(\%myconfig, $form); |
1615 | 1615 |
|
... | ... | |
1697 | 1697 |
|
1698 | 1698 |
$form->{title} = $locale->text('Add Warehouse'); |
1699 | 1699 |
$form->{callback} ||= build_std_url('action=add_warehouse'); |
1700 |
$form->{fokus} = 'description';
|
|
1700 |
$::request->{layout}->focus('#description');
|
|
1701 | 1701 |
|
1702 | 1702 |
$form->header(); |
1703 | 1703 |
print $form->parse_html_template('am/edit_warehouse'); |
... | ... | |
1720 | 1720 |
|
1721 | 1721 |
$form->{title} = $locale->text('Edit Warehouse'); |
1722 | 1722 |
$form->{callback} ||= build_std_url('action=list_warehouses'); |
1723 |
$form->{fokus} = 'description';
|
|
1723 |
$::request->{layout}->focus('#description');
|
|
1724 | 1724 |
|
1725 | 1725 |
$form->header(); |
1726 | 1726 |
print $form->parse_html_template('am/edit_warehouse'); |
templates/webpages/am/edit_price_factor.html | ||
---|---|---|
11 | 11 |
<table border="0"> |
12 | 12 |
<tr> |
13 | 13 |
<td align="right">[% 'Description' | $T8 %]</td> |
14 |
<td><input name="description" value="[% HTML.escape(description) %]"></td> |
|
14 |
<td><input id="description" name="description" value="[% HTML.escape(description) %]"></td>
|
|
15 | 15 |
</tr> |
16 | 16 |
|
17 | 17 |
<tr> |
templates/webpages/am/edit_warehouse.html | ||
---|---|---|
17 | 17 |
<tr> |
18 | 18 |
<td align="right">[% 'Description' | $T8 %]</td> |
19 | 19 |
<td> |
20 |
<input name="description" size="60" value="[% HTML.escape(description) %]"> |
|
20 |
<input id='description' name="description" size="60" value="[% HTML.escape(description) %]">
|
|
21 | 21 |
<input type="hidden" name="orig_description" value="[% HTML.escape(description) %]"> |
22 | 22 |
</td> |
23 | 23 |
</tr> |
Auch abrufbar als: Unified diff
fokus in Lagern und Preisfaktoren gefixt