though I've never used DnDSortableHandler, I guess you need to append
some javascript to the ajaxrequesttarget to convert the items you've
added into draggable items.. In my experience most jquery plugins work
by initializing the selected elements during document's onload() or
domready(), and you may need to do the same for the elements that you've
just added to the document..
Marcus Popetz wrote:
Anyone out there run into problems using DnDSortableHandler (Jquery's
sortable list) and opening a modal window causing further dragging to
fail?
The problem I'm seeing:
DnDSortableHandler works fine until I edit one of the items in the
sortable list in a modal window.
Upon close of the modal window, Anything I add to the target to be
rerendered upon close ends up no longer draggable. (ie: if I rerender
just the row in the list that was edited, that one can't be moved but
the others can, if I rerender the whole sortable list that contained
the edited item, nothing is the list is draggable but other lists on
the page are. If I add the entire form to the target for rerendering,
nothing is draggable in my other lists either.
By not draggable, I mean you click and drag and it selects the text
instead of moving the item.
In the case of rerendering the one list or one row, if I then drag
something else that wasn't rerendered and then go back and try the
stubborn items again...it all works fine.
Anyone seen this?
Sorry, no public url on this one as it requires login. Happy to
provide more info though, just let me know what.
-mp
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]