Add undo relations deleting callback.

This commit is contained in:
David Molineus committed 2015-01-09 23:02:09 +01:00
1 parent 12040f24cc
commit 47d27e9c4a
2 files changed
+14 -8

No files matched your search

+7 -5
View File
@@ -37,11 +37,13 @@ L.Contao = L.Class.extend({
});
});
// Set default pointToLayer and onEachFeature handler.
L.GeoJSON.AJAX.prototype.options = L.Util.extend({}, L.GeoJSON.AJAX.prototype.options, {
pointToLayer: this.pointToLayer.bind(this),
onEachFeature: this.onEachFeature.bind(this)
});
if (L.GeoJSON.AJAX) {
// Set default pointToLayer and onEachFeature handler.
L.GeoJSON.AJAX.prototype.options = {
pointToLayer: this.pointToLayer.bind(this),
onEachFeature: this.onEachFeature.bind(this)
};
}
},
/**