From 6ec6dac55f2edee6a52ec0d5a61cabab674256c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 26 Oct 2012 14:23:03 +0200 Subject: [PATCH] fokus in email gefixt --- bin/mozilla/io.pl | 2 +- templates/webpages/generic/edit_email.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %] -- 2.20.1