From: Sven Schöling Date: Fri, 26 Oct 2012 12:18:20 +0000 (+0200) Subject: fokus in Lagern und Preisfaktoren gefixt X-Git-Tag: release-3.0.0beta1~80 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f5c4ca4957be652d0b01234ad8c5c07b4f91435a;p=kivitendo-erp.git fokus in Lagern und Preisfaktoren gefixt --- diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 1aca213e0..4e4f05321 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -1590,7 +1590,7 @@ sub add_price_factor { $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'); @@ -1609,7 +1609,7 @@ sub 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); @@ -1697,7 +1697,7 @@ sub add_warehouse { $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'); @@ -1720,7 +1720,7 @@ sub 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'); diff --git a/templates/webpages/am/edit_price_factor.html b/templates/webpages/am/edit_price_factor.html index a46d2cb53..dc00c7c6c 100644 --- a/templates/webpages/am/edit_price_factor.html +++ b/templates/webpages/am/edit_price_factor.html @@ -11,7 +11,7 @@ - + diff --git a/templates/webpages/am/edit_warehouse.html b/templates/webpages/am/edit_warehouse.html index ba953df27..2208de527 100644 --- a/templates/webpages/am/edit_warehouse.html +++ b/templates/webpages/am/edit_warehouse.html @@ -17,7 +17,7 @@
[% 'Description' | $T8 %]
[% 'Description' | $T8 %] - +