From: Sven Schöling Date: Fri, 26 Oct 2012 12:23:03 +0000 (+0200) Subject: fokus in email gefixt X-Git-Tag: release-3.0.0beta1~78 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6ec6dac55f2edee6a52ec0d5a61cabab674256c8;p=kivitendo-erp.git fokus in email gefixt --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 74b4e6591..b518db00e 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -978,7 +978,7 @@ sub edit_e_mail { my $attachment_filename = $form->generate_attachment_filename(); my $subject = $form->{subject} || $form->generate_email_subject(); - $form->{"fokus"} = $form->{"email"} ? "Form.subject" : "Form.email"; + $::request->{layout}->focus($form->{"email"} ? "#subject" : "#email"); $form->header; my (@dont_hide_key_list, %dont_hide_key, @hidden_keys); diff --git a/templates/webpages/generic/edit_email.html b/templates/webpages/generic/edit_email.html index e528c78fa..b8303a0cc 100644 --- a/templates/webpages/generic/edit_email.html +++ b/templates/webpages/generic/edit_email.html @@ -14,7 +14,7 @@ [% 'To' | $T8 %] - + [% 'Cc' | $T8 %] @@ -28,7 +28,7 @@ [% 'Subject' | $T8 %] - + [% 'Attachment name' | $T8 %]