[Seaside] jquery widgetbox jeditable example
watchlala at hotmail.com
Thu Feb 24 23:47:46 UTC 2011
I'm not familiar with the widgetbox stuff (Torsten would know), but I might suggest a #timeout: type function instead of holding the process in the callback.
> Date: Fri, 25 Feb 2011 00:23:45 +0100
> From: milan.mimica at gmail.com
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] jquery widgetbox jeditable example
> Not sure this is the right place, but the example page for WidgetBox jeditable
> component is whole wrong. It *installs* the script in onClick event. The
> consequence is that the first click is ignored. Should read "script:" instead of
> "onClick:" I guess.
> html paragraph
> onClick: (html jQuery this editable
> callback: [:value | "used to let the user show the Saving... message,
> otherwise it is too fast"
> (Delay forSeconds: 1) wait. text := value];
> submit: 'keep it';
> cancel: 'forget about that';
> indicator: 'Saving...');
> Milan Mimica
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside