Patch for InPlaceEditor adding editOnBlank feature

written by seb on February 3rd, 2008 @ 11:24 AM

Since a while I'm running on own patched version of InPlaceEditor for Tiare, mainly to support editOnBlank which allow an empty container to be turned as editable just after initialization.

It turned to be useful as well if you accept blank response as it will keep in edit mode in this case

Notice

Please be aware that it's patching the actual version of InPlaceEditor, actually at revision 8787 on script.aculo.us 1.8.1 and it can make more damages on previous or later versions.

How to use
...
<head>
  ...
  <script src="javascripts/prototype.js" type="text/javascript"></script>
  <script src="javascripts/control.js" type="text/javascript"></script>
  <script src="javascripts/patch_inplaceeditor_1-8-1.js" type="text/javascript"></script>
  ...
</head>
...
Advise

I advise you to use the InPlaceEditor's failure patch as well.

Download

InPlaceEditor's editOnBlank extension

Have fun ;-)

Comments are closed