Hi all!
I've two list defined as Sortable and I've defined the OnEnd event on
all draggables elements in the page:

draggableObserver = {
                    onStart: function(eventName, draggable, event) {
                                   //bla bla bla
                    },
                    onEnd: function(eventName, draggable, event) {
                              if(testPassed){
                                        //revert drag
                              }
                    },
Draggables.addObserver(draggableObserver);

Now I want revert the drag action when a test I've defined return
true, like the code above.
Thanks in advance.
Davide


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to