aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/GeofenceMapController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-03 15:30:35 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-03 15:30:35 +1200
commit6606ad80f189da772687c6092618b19a46f83394 (patch)
treedf80c72c28db27eed6a9d272a08c80347d1a3efd /web/app/view/GeofenceMapController.js
parent79f8c34319053236ee03359b1ecf38e065206485 (diff)
downloadtrackermap-server-6606ad80f189da772687c6092618b19a46f83394.tar.gz
trackermap-server-6606ad80f189da772687c6092618b19a46f83394.tar.bz2
trackermap-server-6606ad80f189da772687c6092618b19a46f83394.zip
Add toolbar to geozone editor
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();
+ }
});