Alain Ravet
2006-Feb-10 00:11 UTC
sorting <a href..> with D&D follows the link (browser thinks I click)
Hi all, I''ve just added d&d sorting to a list where each item is a link_to .. Problem: when I drop an item to its new location, the browser think I clicked, and follows the link. Any idea? TIA. Alain
Pawel Szymczykowski
2006-Feb-10 08:07 UTC
Re: sorting <a href..> with D&D follows the link (browser thinks I click)
On 2/9/06, Alain Ravet <arav2132-6SW1mVBvVAbXsMajfR9tMA@public.gmane.org> wrote:> Hi all, > > I''ve just added d&d sorting to a list where each item is a link_to .. > Problem: when I drop an item to its new location, the browser think I > clicked, and follows the link. > Any idea?Roll a 1d20 to make a saving throw vs. clicking? (sorry - could..not..resist!)
Alain Ravet
2006-Feb-10 14:53 UTC
Re: sorting <a href..> with D&D follows the link (browser thinks I click)
Another way to ask the question: "How to make a list of links sortable?" I read the doc and scratched my head, but I found nothing, not even dandruff. Alain > I''ve just added d&d sorting to a list where each item is a link_to .. > Problem: when I drop an item to its new location, the browser think I > clicked, and follows the link.
Alain Ravet
2006-Feb-17 17:55 UTC
[Solved] : Re: sorting <a href..> with D&D follows the link (browser thinks I click)
This problem can be solved by adding a _handle_ to restrict the part of the list element that can be used as a handle. see: http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo Alain> I''ve just added d&d sorting to a list where each item is a link_to .. > Problem: when I drop an item to its new location, the browser think I > clicked, and follows the link.