OpenLayers OpenLayers

Changeset 680

Show
Ignore:
Timestamp:
06/22/06 14:53:36 (3 years ago)
Author:
crschmidt
Message:

Turn off selecting in IE, so we don't end up selecting tiles while dragging a box.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Control/MouseDefaults.js

    r657 r680  
    5656            this.map.viewPortDiv.appendChild(this.zoomBox); 
    5757        } 
     58        document.onselectstart=function() { return false; } 
    5859        Event.stop(evt); 
    5960    }, 
     
    112113            this.map.setCenter(this.map.center); 
    113114        } 
     115        document.onselectstart=null; 
    114116        this.mouseDragStart = null; 
    115117        this.map.div.style.cursor = "default"; 
  • trunk/openlayers/lib/OpenLayers/Control/MouseToolbar.js

    r679 r680  
    165165                break; 
    166166        } 
     167        document.onselectstart = function() { return false; }  
    167168        Event.stop(evt); 
    168169    }, 
     
    248249             
    249250        } 
     251        document.onselectstart = null; 
    250252        this.mouseDragStart = null; 
    251253        this.map.div.style.cursor = "default";