Not autosaving add form for node types

bswen - January 7, 2009 - 16:38
Project:Autosave
Version:5.x-3.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

On the content type edit form for my "blog entry" node type the language next to the check box enabling Autosave reads "Enable Autosave to add/edit forms for this node type." This leads me to believe that Autosave is supposed to work for the form on the /node/add/blog path, the "add" form for the blog entry content type. However Autosave does not seem to be doing so. I am not seeing any notifications, there are no entries in the DB reflecting that path, and, if I enter a post, navigate away and then go back to the /node/add/blog page I am not presented with any autosaved content.

Also, it looks like this line in the code:

    if ( (variable_get('autosave_'. $form['type']['#value'], 0) == 1) &&
          ( (arg(0) == 'node' && is_numeric(arg(1)) && arg(2) == 'edit') || (arg(0) == 'node' && arg(1) == 'add') )
        )

should be allowing autosave for the form on /node/add/blog... any idea what's up?

Thanks,
Brady

#1

liquidcms - January 19, 2009 - 17:37

any luck with this? I just tested on a blog node and it seems to work fine. check this:

- what is your autosave delay set to (default is 10 sec), you need to have the form open for 10 sec before popup stating form autosaved kicks in
- do you see popup (actually; by default it pops up from bottom of the screen)?

 
 

Drupal is a registered trademark of Dries Buytaert.