Changes in version 0.3.3:
- Remove trailing newline from edit form (Sheldon)
- Minified version of EditInPlace.js included in distribution files
- New option: ajax_data
I’ve tried to keep the size of EditInPlace reasonable, but as more bug fixes and features get added there is only so much you can do. So starting with version 0.3.3 I’m including a minified (via JSMin) version of EditInPlace.js. This brings the JavaScript source from 10,304 bytes to 6,751 bytes.
The new ajax_data option allows you to provided additional data. I’ve had a few requests for this feature, thanks to Joe Lion for reminding me about it. The example page has been updated to show to use this new feature. It’s simple enough:
EditInPlace.makeEditable({ id: 'edit_this_thing', ajax_data: { database_id: 12345, other_data: 'Some Other String Data' } });
As always, you can browse the Edit In Place files, play with the example page or download the version 0.3.3 release.