Only working on Title and Body fields?

sheise - February 10, 2009 - 17:39
Project:Autosave
Version:6.x-1.1
Component:Miscellaneous
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review
Description

I am trying to use autosave on a content type that has multiple fields but it only seems to be autosaving the Title and Body fields. The rest do not get saved. Also when I view the autosaved version I then get 3 buttons that all say "Save,Preview,Delete,Save, Preview,Delete,Save,Preview,Delete". Anyone know what is happening?

#1

Jody Lynn - February 11, 2009 - 20:25

When jquery.field.js was updated for the D6 branch the customizations which were in it in the D5 branch never made the jump. I found custom bits in the D5 js related to submit buttons and to the use of square brackets in field names. I added these bits into the D6 js ($.fn.formHash) and it solved both issues: the cck fields now work and the submit buttons aren't mangled.

AttachmentSize
autosave.patch 12.75 KB

#2

Jody Lynn - February 11, 2009 - 20:25
Status:active» needs review

#3

Drupalone - May 26, 2009 - 09:35
Title:Only working on Title and Body fields?» Doesn't work for me

I still get the Problem after installing your patch.

The Main Text is not getting restored, when tinyMCE is activated after clicking on "View" in the autosave popup.

But each time i click view or restore, the text from the "save | delete | preview" Buttons is put together in each of the buttons, and each time I click, the Text in the buttons grows.

I hope we cann fix that, cause this is such a beautiful feature.

#4

Avatar - June 9, 2009 - 17:00

How to install a patch?? I know nothing about coding

#5

Pasqualle - June 12, 2009 - 17:35
Title:Doesn't work for me» Only working on Title and Body fields?

fixing the issue title..

#6

benone - July 7, 2009 - 09:50

Hey did you do something with autosaving CCK fields ?
I can only autosave the Title which is the only one orgiginal Drupal field in my content type.

Subscribing to this topic.

Ben

#7

Jody Lynn - July 7, 2009 - 11:54
Priority:normal» critical
 
 

Drupal is a registered trademark of Dries Buytaert.