CloudMade/Leaflet — pull request #669 by cfis (2012-05-07 06:11:08+00:00)
Title: Check this.edit is set

this.edit is not always set for polygons - this happens to us for example when loading from geojson. This patch makes sure that this.editing is set before checking whether editing is enabled.