2170_anonfuncs.diff: created functions returning true and false instead of using anonymous functions all over. p=rcoup, r=me (see #2170)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9759 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -121,7 +121,7 @@ OpenLayers.Layer.VirtualEarth = OpenLayers.Class(
|
||||
// http://blogs.msdn.com/virtualearth/archive/2007/09/28/locking-a-virtual-earth-map.aspx
|
||||
//
|
||||
this.mapObject.LoadMap(null, null, this.type, true);
|
||||
this.mapObject.AttachEvent("onmousedown", function() {return true; });
|
||||
this.mapObject.AttachEvent("onmousedown", OpenLayers.Function.True);
|
||||
|
||||
} catch (e) { }
|
||||
this.mapObject.HideDashboard();
|
||||
|
||||
Reference in New Issue
Block a user