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

Ticket #5980 (new defect)

Opened 2 years ago

Last modified 2 years ago

Sortable.create BUG

Reported by: anonymous Assigned to: sam
Priority: high Milestone:
Component: script.aculo.us Version:
Severity: normal Keywords:
Cc:

Description

I have 2 sortable - list. i can move the items from the first into the second and from the second to the first.

see javascript

Position.includeScrollOffsets = true; Sortable.create(id1, {ghosting:true,dropOnEmpty:true,containment:[id1,id2],constraint:false}); Sortable.create(id2, {ghosting:true,dropOnEmpty:true,handle:'handle',containment:[id1, id2],constraint:false, onUpdate:function(){$(objekt).value=Sortable.serialize(id2);}});

So I have in the first List 1 Item and in the second nothing (0). Now the user move the item von list1 to list2. list2 is not empty, but sometimes i don't see it in my textfeld (the item..it now right in the secondlist). than i dropped the item (list2 is not empty) und move it into self (list2) than i saw it in the textfeld.

it's only, than the list (list2) is empty!!

Change History

11/12/06 20:26:03 changed by obrie

  • owner changed from David to Rails.
  • component changed from ActiveRecord to script.aculo.us.

11/12/06 20:27:21 changed by obrie

  • owner changed from Rails to sam.