Re: Re: [Rails-spinoffs] InPlaceEditor form value

2005-11-30 Thread Brandon Dove
Thanks for pointing that out -- I imagine this was my oversight and not something missing from the docs. The strange behaviour exhibited by the different browsers (ie. it actually working in Firefox) was throwing me for a loop. Get your own "800" n

Re: [Rails-spinoffs] InPlaceEditor form value

2005-11-29 Thread Jon Tirsen
Sorry, the function takes two arguments, first the form and then the actual value of the field so it needs to look like this: function(form, value) { return 'name=' + value;} Is there any documentation out there with the incorrect form of the function that I need to update? On 11/30/05, Brandon D

[Rails-spinoffs] InPlaceEditor form value

2005-11-29 Thread Brandon Dove
As I understand it the name of the element created when using the InPlaceEditor is "value". When creating an instance of Ajax.InPlaceEditor I have a callback function that looks like this (to send the value using a different parameter name): function(value) { return 'name=' + value;} Using eth