Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9757 (new defect)

Opened 2 years ago

Sortable "dropOnEmpty" will not drop into empty <ol>

Reported by: astilla Assigned to: thomas@fesch.at
Priority: normal Milestone: 2.x
Component: script.aculo.us Version:
Severity: normal Keywords:
Cc:

Description

I have a test page with a couple of nested sortables. "Sections" where each "section" has "items". You should be able to re-sort the "sections", re-sort the "items" in a section and drag an "item" to another "section".

From various bits of trial and error, this only seems to work for me when "sections" and "items" are defined as DIV tags. Whenever the inner list of "items" is an OL (ordered list) tag. Then it ceases to become possible to drag an item from one section into another empty section.

A test page can be found here: http://talis.pastebin.com/f23617161

I have tried this on Scriptaculous 1.7.0 and 1.7.1 beta 3

Environment: Firefox 2.0.0.7 on MacBook Pro (OSX 10.4)

Attachments

divandlist.html (2.0 kB) - added by astilla on 10/02/07 08:08:50.
Sample file demonstrating problem (I believe) with dropOnEmpty on an empty <OL> tag.

Change History

10/02/07 08:08:50 changed by astilla

  • attachment divandlist.html added.

Sample file demonstrating problem (I believe) with dropOnEmpty on an empty <OL> tag.