Jeditable 1.0.0RC1 – Configurable OnBlur Event
Thanks to community support Jeditable now has additional features and new bugfixes. First stable release is almost there.
New release of jQuery in place editable plugin fixes following bugs:
- When textarea size was set to auto width and height were incorrectly set. To be exact px was missing from the property.
- Also when using auto size the width and height was only calculated once. Thus if you edited content more than once, textarea size did not change according to new content.
- All instances of $ are now changed to jQuery.
- When attaching Jeditable to nonexistent element elem has no properties error is no more thrown.
Thanks to Nagy Attila Gabor and Gary for providing patches!
Additionally new configuration parameter onblur was added. Possible values and corresponding behaviors are:
onblur : ‘cancel’ Clicking outside editable area cancels changes. Clicking OK button submits changes.
onblur : submit’ Clicking outside editable area submits changes.
onblur : ‘ignore’ Click outside editable area is ignored. Pressing ESC cancels changes. Clicking OK button submits changes.
As always test new features and download plugin.