Forum: Ruby on Rails Not droppable after first drop in FF

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Adiascar C. (Guest)
on 2006-06-09 17:21
(Received via mailing list)
Hi all,

I have a couple of droppables in my page. Each of them
looks like a list and is a <div> containing other
<div> for the lines, each line formed by <span>s for
different fields. Each line is declared draggable
(right after each line, since ithey're created inside
a loop). I have both of them inside a <div> since I
need to refresh both at the same time and update the
DB (items dropped on one have to be removed from the
other with an attribute changed).

When an item is dropped, a controller function is
called. The function updates the database, refreshes
the collections the lists are made of, and renders a
partial that displays the lists. I have the
'drop_receiving_element' calls at the end of that

On Firefox ( on WinXP, on OSX and 1.0.8
on SuSe Linux), I can drop any item on the other list
and it works the first time. After that, I can grab
any of the draggables (i.e.: they're still draggable)
but when I drop them, nothing happens. If I refresh
the page everything works again just for the first

On IE 6.0 (WinXP SP2), Konqueror 3.4.2 (SuSe 10.0) and
Safari 2.0.3 (OSX 10.4.6), the lists work as expected.
Multiple drops are possible without having to reload
the page.

Any obvious recommendations specific for FireFox
across platforms? I'll send code portions if more
detail is needed.

Thanks in advance,


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
This topic is locked and can not be replied to.