mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
Update textarea before saving/sending HTML message
This commit is contained in:
@@ -188,6 +188,7 @@ function onPostComplete(http) {
|
||||
|
||||
function clickedEditorSend() {
|
||||
onValidate(function() {
|
||||
CKEDITOR.instances.text.updateElement();
|
||||
triggerAjaxRequest(document.pageform.action,
|
||||
onPostComplete,
|
||||
null,
|
||||
@@ -233,6 +234,7 @@ function clickedEditorSave() {
|
||||
|
||||
window.shouldPreserve = true;
|
||||
document.pageform.action = "save";
|
||||
CKEDITOR.instances.text.updateElement();
|
||||
|
||||
triggerAjaxRequest(document.pageform.action, function (http) {
|
||||
if (http.readyState == 4) {
|
||||
|
||||
Reference in New Issue
Block a user