Changeset 650

Show
Ignore:
Timestamp:
03/30/06 13:19:36 (3 years ago)
Author:
therve@gmail.com
Message:

And in the example too

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mochikit/branches/scriptaculous/examples/simple_dnd/dnd_boxes.html

    r618 r650  
    3737  new MochiKit.DragAndDrop.Draggable('revertbox2',{handle:'handle2',revert:function(element){return ($('shouldrevert2').checked)}}); 
    3838  new MochiKit.DragAndDrop.Droppable('droptarget1',{accept:['box1','otherstuff'],ondrop:function(){alert('drop!')}}); 
    39   new MochiKit.DragAndDrop.Droppable('droptarget2',{accept:'box',ondrop:function(){alert('drop!')}}); 
     39  new MochiKit.DragAndDrop.Droppable('droptarget2',{accept:['box'],ondrop:function(){alert('drop!')}}); 
    4040// ]]> 
    4141</script>