I am a bit desperate now. I have tried to work this over and over to
the point where I think I have to give up.

I tried 2 different revert declarations:
1. revert:changeClass
Sortable.create('blank_1',{tag:'span',dropOnEmpty: true,
constraint:true, containment:sections,
only:'lineitem',revert:changeClass});
2. revert:true (so it should always execute - I would think)
Sortable.create('blank_1',{tag:'span',dropOnEmpty: true,
constraint:true, containment:sections, only:'lineitem',revert:true});

Also to make sure that this isn't my functions mistake, I set the
return statement of my changeClass function to true. Meaning that
revert will be set to true and should be executed every single time
the object is dragged.
Here is the very simplified function

function changeClass(el){ return true;}

Leaves me to think that the patch does not work.

I tried again firebug debugging:
Set breakpoints for the patches
revert seems never to be set?

Can anyone help me??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to