Changeset 5907
- Timestamp:
- 01/27/08 09:10:00 (1 year ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Map.js (modified) (1 diff)
- trunk/openlayers/tests/Handler/test_Drag.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Map.js
r5853 r5907 285 285 * {Boolean} Should OpenLayers allow events on the map to fall through to 286 286 * other elements on the page, or should it swallow them? (#457) 287 * Default is to swallow them.288 */ 289 fallThrough: false,287 * Default is to fall through. 288 */ 289 fallThrough: true, 290 290 291 291 /** trunk/openlayers/tests/Handler/test_Drag.html
r5097 r5907 88 88 89 89 function test_Handler_Drag_callbacks(t) { 90 t.plan(3 4);90 t.plan(33); 91 91 92 92 var map = new OpenLayers.Map('map', {controls: []}); … … 169 169 "mousedown default action is disabled"); 170 170 } else { 171 t.ok(evt.xy.x == testEvents.down.xy.x && 172 evt.xy.y == testEvents.down.xy.y, 171 t.fail( 173 172 "mousedown is prevented from falling to other elements"); 174 173 }
