$form->{title} = $locale->text('Add Price Factor');
$form->{callback} ||= build_std_url('action=add_price_factor');
- $form->{fokus} = 'description';
+ $::request->{layout}->focus('#description');
$form->header();
print $form->parse_html_template('am/edit_price_factor');
$form->{title} = $locale->text('Edit Price Factor');
$form->{callback} ||= build_std_url('action=add_price_factor');
- $form->{fokus} = 'description';
+ $::request->{layout}->focus('#description');
AM->get_price_factor(\%myconfig, $form);
$form->{title} = $locale->text('Add Warehouse');
$form->{callback} ||= build_std_url('action=add_warehouse');
- $form->{fokus} = 'description';
+ $::request->{layout}->focus('#description');
$form->header();
print $form->parse_html_template('am/edit_warehouse');
$form->{title} = $locale->text('Edit Warehouse');
$form->{callback} ||= build_std_url('action=list_warehouses');
- $form->{fokus} = 'description';
+ $::request->{layout}->focus('#description');
$form->header();
print $form->parse_html_template('am/edit_warehouse');
<tr>
<td align="right">[% 'Description' | $T8 %]</td>
<td>
- <input name="description" size="60" value="[% HTML.escape(description) %]">
+ <input id='description' name="description" size="60" value="[% HTML.escape(description) %]">
<input type="hidden" name="orig_description" value="[% HTML.escape(description) %]">
</td>
</tr>