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

Changeset 1932

Show
Ignore:
Timestamp:
07/26/05 12:41:57 (5 years ago)
Author:
madrobby
Message:

script.aculo.us: Fixes a bug with Droppables not recognizing a drop if no hoverclass is given [thanks drewie]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/scriptaculous/CHANGELOG

    r1928 r1932  
    11*SVN* 
     2 
     3* Fixes a bug with Droppables not recognizing a drop if no hoverclass is given [thanks drewie] 
    24 
    35* Fixes to ghosting marker, allow a predefined marker (element with id "dropmarker"). 
  • spinoffs/scriptaculous/src/dragdrop.js

    r1928 r1932  
    175175  activate: function(drop) { 
    176176    if(this.last_active) this.deactivate(this.last_active); 
    177     if(drop.hoverclass) { 
     177    if(drop.hoverclass) 
    178178      Element.Class.add(drop.element, drop.hoverclass); 
    179       this.last_active = drop; 
    180     } 
     179    this.last_active = drop; 
    181180  }, 
    182181