Revision 4b85e0ab
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
bin/mozilla/amtemplates.pl | ||
---|---|---|
272 | 272 |
$options{"CAN_EDIT"} = $form->{"edit"}; |
273 | 273 |
|
274 | 274 |
if ($form->{edit}) { |
275 |
$form->{fokus} = "Form.content";
|
|
275 |
$::request->{layout}->focus("#edit_content");
|
|
276 | 276 |
|
277 | 277 |
} else { |
278 | 278 |
$options{"content"} = "\n\n" if (!$options{"content"}); |
templates/webpages/am/edit_templates.html | ||
---|---|---|
53 | 53 |
</p> |
54 | 54 |
|
55 | 55 |
[% IF CAN_EDIT %] |
56 |
<p><textarea name="content" id="content" cols="100" rows="25">[% HTML.escape(content) %]</textarea></p> |
|
56 |
<p><textarea name="content" id="edit_content" cols="100" rows="25">[% HTML.escape(content) %]</textarea></p>
|
|
57 | 57 |
|
58 | 58 |
<p> |
59 | 59 |
<input type="hidden" name="save_nextsub" value="save_template"> |
Auch abrufbar als: Unified diff
fokus beim Editieren von Templates gefixt