Revision 8bbd83c6
Von Sven Schöling vor etwa 1 Jahr hinzugefügt
templates/design40_webpages/oe/edit_periodic_invoices_config.html | ||
---|---|---|
165 | 165 |
$('#email_sender').prop('disabled', disabled); |
166 | 166 |
$('#email_subject').prop('disabled', disabled); |
167 | 167 |
$('#email_body').prop('disabled', disabled); |
168 |
$('#email_body').data('ckeditorInstance').setReadOnly(disabled); |
|
168 |
if (disabled) |
|
169 |
$('#email_body').data('ckeditorInstance').enableReadOnlyMode('disabled') |
|
170 |
else |
|
171 |
$('#email_body').data('ckeditorInstance').disableReadOnlyMode('disabled'); |
|
169 | 172 |
} |
170 | 173 |
--></script> |
templates/webpages/oe/edit_periodic_invoices_config.html | ||
---|---|---|
169 | 169 |
$('#email_sender').prop('disabled', disabled); |
170 | 170 |
$('#email_subject').prop('disabled', disabled); |
171 | 171 |
$('#email_body').prop('disabled', disabled); |
172 |
$('#email_body').data('ckeditorInstance').setReadOnly(disabled); |
|
172 |
if (disabled) |
|
173 |
$('#email_body').data('ckeditorInstance').enableReadOnlyMode('disabled') |
|
174 |
else |
|
175 |
$('#email_body').data('ckeditorInstance').disableReadOnlyMode('disabled'); |
|
173 | 176 |
} |
174 | 177 |
--> |
175 | 178 |
</script> |
Auch abrufbar als: Unified diff
ckeditor5: read only mode für wiederkehrende Rechnungen