<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
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.<BR>
<BR>
RS<BR> <BR>
> Date: Fri, 25 Feb 2011 00:23:45 +0100<BR>> From: milan.mimica@gmail.com<BR>> To: seaside@lists.squeakfoundation.org<BR>> Subject: [Seaside] jquery widgetbox jeditable example<BR>> <BR>> Hello!<BR>> <BR>> Not sure this is the right place, but the example page for WidgetBox jeditable <BR>> component is whole wrong. It *installs* the script in onClick event. The <BR>> consequence is that the first click is ignored. Should read "script:" instead of <BR>> "onClick:" I guess.<BR>> <BR>> <BR>> html paragraph<BR>> onClick: (html jQuery this editable<BR>> callback: [:value | "used to let the user show the Saving... message, <BR>> otherwise it is too fast"<BR>> (Delay forSeconds: 1) wait. text := value];<BR>> submit: 'keep it';<BR>> cancel: 'forget about that';<BR>> indicator: 'Saving...');<BR>> <BR>> <BR>> -- <BR>> Milan Mimica<BR>> http://sparklet.sf.net<BR>> _______________________________________________<BR>> seaside mailing list<BR>> seaside@lists.squeakfoundation.org<BR>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<BR>                                            </body>
</html>