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.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/web/app/view/GeofenceMapController.js b/web/app/view/GeofenceMapController.js
index bc0fbfe1b..d3915fd46 100644
--- a/web/app/view/GeofenceMapController.js
+++ b/web/app/view/GeofenceMapController.js
@@ -16,5 +16,13 @@
Ext.define('Traccar.view.GeofenceMapController', {
extend: 'Ext.app.ViewController',
- alias: 'controller.geofenceMap'
+ alias: 'controller.geofenceMap',
+
+ onSaveClick: function (button) {
+ button.up('window').close();
+ },
+
+ onCancelClick: function (button) {
+ button.up('window').close();
+ }
});