Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6ec6dac5

Von Sven Schöling vor etwa 12 Jahren hinzugefügt

  • ID 6ec6dac55f2edee6a52ec0d5a61cabab674256c8
  • Vorgänger cfd9d9f4
  • Nachfolger 8202e4b9

fokus in email gefixt

Unterschiede anzeigen:

bin/mozilla/io.pl
978 978
  my $attachment_filename = $form->generate_attachment_filename();
979 979
  my $subject             = $form->{subject} || $form->generate_email_subject();
980 980

  
981
  $form->{"fokus"} = $form->{"email"} ? "Form.subject" : "Form.email";
981
  $::request->{layout}->focus($form->{"email"} ? "#subject" : "#email");
982 982
  $form->header;
983 983

  
984 984
  my (@dont_hide_key_list, %dont_hide_key, @hidden_keys);
templates/webpages/generic/edit_email.html
14 14
        <tr>
15 15
          <th align="right" nowrap>[% 'To' | $T8 %]</th>
16 16

  
17
          <td><input name="email" size="30" value="[% HTML.escape(email) %]"></td>
17
          <td><input id="email" name="email" size="30" value="[% HTML.escape(email) %]"></td>
18 18
        </tr>
19 19
        <tr>
20 20
          <th align="right" nowrap>[% 'Cc' | $T8 %]</th>
......
28 28
        <tr>
29 29
          <th align="right" nowrap>[% 'Subject' | $T8 %]</th>
30 30

  
31
          <td><input name="subject" size="30" value="[% HTML.escape(subject) %]"></td>
31
          <td><input id="subject" name="subject" size="30" value="[% HTML.escape(subject) %]"></td>
32 32
        </tr>
33 33
        <tr>
34 34
          <th align="right" nowrap>[% 'Attachment name' | $T8 %]</th>

Auch abrufbar als: Unified diff