[Seaside] SUSortable - 2 lists - drag&drop lost after ajax
re-render
Lukas Renggli
renggli at gmail.com
Fri Apr 11 05:56:32 UTC 2008
> I need to re-render whole lists on drop operations (due to some application
> logic conditions) and this is problem IMHO - maybe list items lost "mouse
> event connection" after afax re-render?
> When is list-item connected to "mouse event" - on initial page load by
> javascript, right?
Yes, you need to unregister the old sortable (before updating) and
initialize a new sortable with the new DOM elements (after updating).
There are some hints on the script.aculo.us wiki, I think.
Cheers,
Lukas
>
> Sorry for English, is it understandable? Thanks, pf
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list