Hi guys,

I'm sorry, this question is most likely only due to my total ignorance
of javascript design patterns. I have the following scenario on my
website: On top there is a table which lists all users that exist. I
have made the <td> that contains the username be draggabe so that I
can move it over into another droppable which in this case is a div-
container representing a user group.

Now that droppable is actually a list so I have decided to make it a
sortable, allowing me to drag users from one usergroup (div) into
another. The problem that occurs now is to to store the data. I have
no difficulties as far as the sortable is concerned, on receive I
simply serialize it and I'm done. However, that reception-code-block
of the sortable won't be triggered when I drag the first user into the
droppable (which again is nothing else than this very sortable),
effectively preventing me from storing that movement.

All the relevant code parts are here: http://nopaste.info/ff878ea4a9.html
Line 32-34 are sort of the problem...I append a list item there (the
username to add to the group) but line 51 and following won't be
triggered of course. Thats what I want to achieve.

Thanks for your time,
Chris

Reply via email to