I have the problem that for me nothing is saved in the database when I press the "Save As Draft" button. On Firefox the node/add/blog page is simply reloaded. On Chrome the "Draft is currently being saved" window pops up and stays up indefinitely.

Unfortunately I have no idea how to debug AJAX stuff. Can you give me some advice of how I could discover what the problem is?

Comments

darren.ferguson’s picture

For Firefox, i would install Firebug and let it find the errors. For the button submitting it means either a JS error occurs on page load or the JS is causing an error. You might have to hit the stop button in your browser the minute you hit save as draft so we can see what it is. Also if you are using a new version and had an old one previously please make sure the JS is updated since sometimes browsers don;t update it

gustav’s picture

Title: Nothing being saved » fckLaunchedJsId is not defined
Category: support » bug

Thanks, I have now found out that the javascript error is: "fckLaunchedJsId is not defined" on line 39 of draft.js. Unfortunately I do not know enough javascript to debug this myself.

gustav’s picture

Maybe I should have added that I use the most recent code for fckeditor for Drupal 6.

darren.ferguson’s picture

Status: Active » Closed (fixed)

Have added a check for this variable fckLaunchedJsId and verifying if it is defined. If not you will not see the error and it means FCK Editor is not initialized or is non existant on your site. It will be in the nightly build for the dev branch of the module.