Improved In Place Editor plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://svn.redlinesoftware.com/plugins/in_place_editor
The current rails version is missing a lot of valid options for the control, but this plugin will accept any current and new parameters for the control.
For example, the current rails version (< 2.0) doesn't allow the setting of onFailure for the control, but with this plugin, simply specify it as follows...
:on_failure => "function(transport) {alert(\"Error: \" + transport.responseText.stripTags());}"
The option translation simply converts underscored options to camelcase in the JS.
eg.
:on_failure -> onFailure, :rows -> rows, :highlight_color -> highlightColor
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

