projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pflichtenheftitems: Masken für neue (Unter)Funktionsblöcke
[kivitendo-erp.git]
/
bin
/
mozilla
/
amtemplates.pl
diff --git
a/bin/mozilla/amtemplates.pl
b/bin/mozilla/amtemplates.pl
index
6d7e399
..
f8c6972
100644
(file)
--- a/
bin/mozilla/amtemplates.pl
+++ b/
bin/mozilla/amtemplates.pl
@@
-275,10
+275,7
@@
sub display_template_form {
$options{"CAN_EDIT"} = $form->{"edit"};
$options{"CAN_EDIT"} = $form->{"edit"};
- if ($form->{edit}) {
- $::request->{layout}->focus("#edit_content");
-
- } else {
+ if (!$form->{edit}) {
$options{"content"} = "\n\n" if (!$options{"content"});
$options{"SHOW_SECOND_EDIT_BUTTON"} = $options{"lines"} > 25;
}
$options{"content"} = "\n\n" if (!$options{"content"});
$options{"SHOW_SECOND_EDIT_BUTTON"} = $options{"lines"} > 25;
}