[Seaside] jquery widgetbox jeditable example
Robert Sirois
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.
RS
> 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
>
> Hello!
>
> 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
> http://sparklet.sf.net
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110224/708d536c/attachment.htm
More information about the seaside
mailing list