aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/GeofenceMapController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/GeofenceMapController.js')
-rw-r--r--web/app/view/GeofenceMapController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/GeofenceMapController.js b/web/app/view/GeofenceMapController.js
index d643c89e4..c508127d7 100644
--- a/web/app/view/GeofenceMapController.js
+++ b/web/app/view/GeofenceMapController.js
@@ -27,7 +27,7 @@ Ext.define('Traccar.view.GeofenceMapController', {
if (this.getView().getFeatures().getLength() > 0) {
geometry = this.getView().getFeatures().pop().getGeometry();
projection = this.getView().getMapView().getProjection();
- this.fireEvent('saveArea', Traccar.GeofenceConverter.geometryToWkt(projection, geometry));
+ this.fireEvent('savearea', Traccar.GeofenceConverter.geometryToWkt(projection, geometry));
button.up('window').close();
}
},