Changeset 5050
- Timestamp:
- 09/06/06 11:19:00 (2 years ago)
- Files:
-
- spinoffs/scriptaculous/CHANGELOG (modified) (1 diff)
- spinoffs/scriptaculous/src/dragdrop.js (modified) (1 diff)
- spinoffs/scriptaculous/test/unit/dragdrop_test.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spinoffs/scriptaculous/CHANGELOG
r5049 r5050 1 *V1.6.4* 1 * Fix an issue with Draggables when no options are supplied, fixes #6045 [thx tdd] 2 3 *V1.6.4* (September 6, 2006) 2 4 3 5 * Hotfix IE issues with patched Prototype V1.5.0_rc1 4 6 5 *V1.6.3* 7 *V1.6.3* (September 5, 2006) 6 8 7 9 * Update Prototype to V1.5.0_rc1 spinoffs/scriptaculous/src/dragdrop.js
r4921 r5050 252 252 }; 253 253 254 if( arguments[1] &&typeof arguments[1].endeffect == 'undefined')254 if(!arguments[1] || typeof arguments[1].endeffect == 'undefined') 255 255 Object.extend(defaults, { 256 256 starteffect: function(element) { spinoffs/scriptaculous/test/unit/dragdrop_test.html
r3141 r5050 26 26 27 27 <p id="p_test">p_test</p> 28 <p id="p_test2">p_test2</p> 29 <p id="p_test3">p_test3</p> 28 30 <img id="img_test" src="icon.png" alt="img_text"/> 29 31 <div id="droppable_test">droppable_test</div> … … 51 53 var d = new Draggable('p_test'); 52 54 assertInstanceOf(Draggable, d); 53 54 55 }}, 56 57 testDraggableStartEffect: function() { with(this) { 58 var d = new Draggable('p_test2'); 59 assert(d.options.starteffect, 'There should be a default start effect.'); 60 d = new Draggable('p_test3', { endeffect: Prototype.EmptyFunction }); 61 assert(undefined === d.options.startEffect, 'There should be no default start effect.'); 55 62 }}, 56 63