I've installed TinyMCE on several sites, but one of them is having a unique problem. When I click submit at the bottom of the create or edit content form, I get a warning message popping up that says:
Are you sure you want to navigate away from this page?The changes you made will be lost if you navigate away from this page.
Press OK to continue, or Cancel to stay on the current page.
Not sure why it's insisting on doing that when what I'm trying to do is submit the changes! And this is pretty critical since the site in question is one that users can edit (at least some kinds of) content on -- if it was one where only the site owner would be making changes, I could just tell them to ignore the message.
Since other sites with TinyMCE are not doing this, I'm sure I've either got something set wrong, or possibly a theme issue or module conflict of some sort. The theme is Beale Street from RoopleTheme, and the non-core modules used are buddylist2, event, favicon, image, imce, invite, janode, mimemail, nodewords, page_title, persistent_login, simplenews, simplenews_template, taxonomy_breadcrumb, themesettingsapi, tinymce (of course), token, update_status and webform. The site is running Drupal 5.10 (about to be upgraded to 5.11 within the hour).
If anyone has any idea what setting or conflict might be generating that error, any advice would be appreciated. Thanks!
Comments
Comment #1
phKU commentedHaving the same problem, I found the issue is caused by the autosave tinymce plug-in which is invoked on page unload. I got rid of it just by unregistering this plug-in in tinymce/plugin_reg:
// $plugins['autosave'] = array();Hope that helps :)
Comment #2
mupsi