[Proto-Scripty] Re: how can i turn on the inplaceeditor from javascript?

2009-01-07 Thread Niko Schwarz
i was realizing that i am redrawing large parts of the app anyway, so i came up with something like |editor| editor:= self inPlaceEditorOn:html. self isEditModeOnAndRest ifTrue: [ editor call: 'enterEditMode' ]. ^ editor. i am redrawing a little much currently, 33 ms respond time on localhost.

[Proto-Scripty] Re: how can i turn on the inplaceeditor from javascript?

2009-01-06 Thread Walter Lee Davis
Have a look at the options here: http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor Basically, you can access the element a number of different ways. If you want to go at it from the direction I think you do, then you would make your options like this: var opts = {externalCon