Re: [Proto-Scripty] Issue with droppable and an element that has more than one class name

2010-04-28 Thread Guillaume Lepicard
hi, as far as i can remember, the accept option has to be in a selector syntax: try new Draggable ('draggable', {revert: 'failure', accept: '.dropme'}); or Droppables.add(audience-element-0, {accept: '.Social', onDrop: this.dropElement}); On Tue, Apr 27, 2010 at 10:47 PM, Jangla

[Proto-Scripty] Issue with droppable and an element that has more than one class name

2010-04-27 Thread Jangla
If I have this code: div id=draggable class=dodrop dropmedrag me/div div id=droppabledrop here/div script new Draggable ('draggable', {revert: 'failure', accept: 'dropme'}); Droppables.add ('droppable'); /script I would expect the dropped element to be accpeted by the droppable but it's not for