forked from extern/egroupware
Fix htmlarea.isDirty() was using the pre-editor initialization value causing it to always be true
This commit is contained in:
parent
10b2eda4ac
commit
74284afc07
@ -147,6 +147,7 @@ var et2_htmlarea = /** @class */ (function (_super) {
|
||||
// inside an inactive tabs
|
||||
this.tinymce.then(function () {
|
||||
self.set_value(self.htmlNode.val());
|
||||
self.resetDirty();
|
||||
if (self.editor && self.editor.editorContainer) {
|
||||
self.editor.formatter.toggle(egw.preference('rte_formatblock', 'common'));
|
||||
jQuery(self.editor.editorContainer).height(self.options.height);
|
||||
|
@ -268,6 +268,7 @@ class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
||||
// inside an inactive tabs
|
||||
this.tinymce.then(function() {
|
||||
self.set_value(self.htmlNode.val());
|
||||
self.resetDirty();
|
||||
if (self.editor && self.editor.editorContainer)
|
||||
{
|
||||
self.editor.formatter.toggle(<string><unknown>egw.preference('rte_formatblock', 'common'));
|
||||
|
Loading…
Reference in New Issue
Block a user