E-Mails als HTML verschicken: Bearbeiten wiederkehrende Rechnungen
authorMoritz Bunkus <m.bunkus@linet.de>
Wed, 12 Jan 2022 10:50:49 +0000 (11:50 +0100)
committerMoritz Bunkus <m.bunkus@linet.de>
Wed, 12 Jan 2022 11:30:21 +0000 (12:30 +0100)
templates/webpages/oe/edit_periodic_invoices_config.html

index f9802bf..d7ee726 100644 (file)
 
     <tr>
      <th align="right" valign="top">[%- LxERP.t8("Message") %]</th>
-     <td valign="top">[% L.textarea_tag("email_body", config.email_body, disabled=!config.send_email, rows=8, style=style) %]</td>
+     <td valign="top">[% L.textarea_tag("email_body", config.email_body, disabled=!config.send_email, rows=8, style=style, class="texteditor") %]</td>
     </tr>
    </table>
   </p>
       $('#email_recipient_address').prop('disabled', disabled);
       $('#email_sender').prop('disabled', disabled);
       $('#email_subject').prop('disabled', disabled);
-      $('#email_body').prop('disabled', disabled);
+      $('#email_body').data('ckeditorInstance').setReadOnly(disabled);
     }
     -->
  </script>