[Seaside] Re: Jquery Ajax confirm: callback problem
intrader.intrader at gmail.com
Mon Jul 23 14:13:32 UTC 2012
Joachim Tuchel <jtuchel <at> objektfabrik.de> writes:
> Paul, Johan,
> so this is what my code looks like right now:
> s jQuery ajax
> confirm: 'Do you really want to delete this object?';
> script: [:t|
> self deleteObject: obj.
> t << (t jQuery id: link id) load "link is the anchor tag"
> html: [:q | self renderChildrenOn: q]]
Would you share your entire code as a pastebin (http://paste.ubuntu.com/).
I think there is a race condition with the confirm.
Chrome and Safari may show different behavior from Firefox.
More information about the seaside