c-abird/active_scaffold — comment on commit 00612fe5e8691e762353260e5275b45c6fc8ee04
File: app/assets/javascripts/jquery/active_scaffold.js line 87
By c-abird:

Hm, i have to admit, that i copied this function from Volker Hochstein's branch.
Using the original version lead to problems when pressing the cancel button on a form with a TineMCE field. In this case the 'mceRemoveControl' wasn't called on the TineMCE field and as a consequence when reopening the form, TinyMCE didn't work. Volker's version fixed that for me.
Do you have an idea how to fix this properly?