Hi
I am writing an ajax site that has several InPlaceCollectionEditors
that are initialized when the site is launched. The collection is read
from an array. It appears the collection is read when the
InPlaceCollectionEditor is initialized along with the rest of the
website in the beginning of the user session and therefor does not
reflect the state of the array used to initialize it when the field is
entering the editing mode!
new Ajax.InPlaceCollectionEditor(el, url,
{
ajaxOptions: {method: 'get'},
collection: an_array
}
);
For examlple:
* The user loads the site and the inPlaceCollectionEditor is
initialized.
* After a minute the values of the array are programatically changed
* After another minute the user wants to edit a field and enables the
editmode, but the field does not contain the changes previously made
to the array.
Is there a way to make the editor read the values from the array when
it is going into the edit mode?
Best regards
Sebastian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---