Open agentmilindu opened 10 years ago
When in 'HTML' mode, textarea[id='pageContent']
has an onchange event handler to make window.rezPageSaved = false;
But when in 'WYSIWYG' mode, setting window.rezPageSaved = false;
when a change is made doesn't happen. Evenmore, nicEditor does not have a proper way to check for the change of the content.
Closing duplicate entry. See #65
If you click 'Edit' on a page , make a change while in 'WYSIWYG' mode , click 'Close Editor', it closes without warning to save before leave.
If you click 'Edit' on a page , make a change while in 'HTML' mode , click 'Close Editor', it gives a warning to save before leave, 'Are you sure you want to close this document? It has not been saved.'