Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource Pages - Fails to prompt the user of unsaved changes in WYSIWYG mode #64

Open
agentmilindu opened this issue Mar 22, 2014 · 2 comments

Comments

@agentmilindu
Copy link
Contributor

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.'

@agentmilindu
Copy link
Contributor Author

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.

@ravihansa3000
Copy link
Contributor

Closing duplicate entry. See #65

@ravihansa3000 ravihansa3000 reopened this Mar 28, 2014
@ravihansa3000 ravihansa3000 changed the title Resource Pages - checkSaved() Resource Pages - Fails to prompt the user of unsaved changes in WYSIWYG mode Mar 28, 2014
ramdesh added a commit that referenced this issue May 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants