[Seaside] Scriptaculous bug with inPlaceEditor ?
Lukas Renggli
renggli at gmail.com
Wed Jan 10 17:44:12 UTC 2007
> Is this a normal behavior or a bug ?
This is a common problem ...
> onComplete: (html updater id: 'ipe'; callback: [:r | self renderIPEOn: r] )
... instead use ...
onComplete: (html updater
id: 'ipe';
evalScripts: true;
callback: [:r | self renderIPEOn: r])
and your in-place editor will work. The JavaScript script.aculo.us
library does not evaluate JavaScript code that comes from updates, you
have to enable that manually using #evalScripts:
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Seaside
mailing list