From: Sven Schöling Date: Fri, 26 Oct 2012 11:51:50 +0000 (+0200) Subject: fokus beim Editieren von Templates gefixt X-Git-Tag: release-3.0.0beta1~81 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4b85e0abf6e356485d8b99fd3a6ba62e13d1ebef;p=kivitendo-erp.git fokus beim Editieren von Templates gefixt --- diff --git a/bin/mozilla/amtemplates.pl b/bin/mozilla/amtemplates.pl index 4bc6f017b..9f21e22c7 100644 --- a/bin/mozilla/amtemplates.pl +++ b/bin/mozilla/amtemplates.pl @@ -272,7 +272,7 @@ sub display_template_form { $options{"CAN_EDIT"} = $form->{"edit"}; if ($form->{edit}) { - $form->{fokus} = "Form.content"; + $::request->{layout}->focus("#edit_content"); } else { $options{"content"} = "\n\n" if (!$options{"content"}); diff --git a/templates/webpages/am/edit_templates.html b/templates/webpages/am/edit_templates.html index 4c49e7066..220b9ecb6 100644 --- a/templates/webpages/am/edit_templates.html +++ b/templates/webpages/am/edit_templates.html @@ -53,7 +53,7 @@

[% IF CAN_EDIT %] -

+