Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Change Detection Broken in TinyMCE cause Confirm dialogue every time page is edited

Go to End



Google Summer of Code Hacker, 222 Posts

18 July 2007 at 2:12pm

Edited: 18/07/2007 2:14pm

As of r38891 in the gsoc branch, any change to a HtmlEditor field will cause a confirm dialogue to show whenever new selection is made in the left tree even if the "Save" button has been clicked.

This bug was caused by r38620 which merged in TinyMCE because after doing the following, the bug disappears:

svn up cms --revision 38619 && svn up jsparty/ --revision 38619 && svn up sapphire/ --revision 38619

My dev enviroment is as follows:
Apache/2.2.3 (Ubuntu) PHP/5.2.1
Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061201 Firefox/ (Ubuntu-feisty)

Here is a hack that works around this problem: Hack-To-Fix-TinyMCE-Change-Detection-cms-gsoc-r38861.diff

Here is a gsoc trac ticket I filed about this Save reminder still shows after a page or newsletter draft is saved and a new selection is made in the left tree

I tried for quite a while, but was unable to fix this bug properly. Hopefully the above hack will help whoever works on this. ;)