Is there an easy way to get the in_place_editor to use image-based
submit and cancel buttons? Or does that involve hacking the
javascript directly?
–Wade
Is there an easy way to get the in_place_editor to use image-based
submit and cancel buttons? Or does that involve hacking the
javascript directly?
–Wade
On 5/16/07, H. Wade M. [email protected] wrote:
Is there an easy way to get the in_place_editor to use image-based
submit and cancel buttons? Or does that involve hacking the
javascript directly?
You can pass options to change the text of the submit button and
cancel link, but to use image buttons I think you would need to hack
the javascript. You’d be overriding the
Ajax.InPlaceEditor.createForm() method.
If you look towards the bottom of
http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor,
you’ll see some approaches to customizing the JS without directly
hacking the scriptaculous files.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs