aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-20 16:10:36 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-20 16:10:54 +1200
commitfa5f3054efe7ca926f49f19da45013e1cf1ed81c (patch)
treec12a41c974245658730498ee011f1e45c7d5ff09 /web
parentde3a9b3cdf1386b72dbd2e3b34d3fe8caa808601 (diff)
downloadetbsa-traccar-web-fa5f3054efe7ca926f49f19da45013e1cf1ed81c.tar.gz
etbsa-traccar-web-fa5f3054efe7ca926f49f19da45013e1cf1ed81c.tar.bz2
etbsa-traccar-web-fa5f3054efe7ca926f49f19da45013e1cf1ed81c.zip
Enable edit buttons on selection
Diffstat (limited to 'web')
-rw-r--r--web/app/view/edit/GroupsController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/edit/GroupsController.js b/web/app/view/edit/GroupsController.js
index 34eec8d..9ced956 100644
--- a/web/app/view/edit/GroupsController.js
+++ b/web/app/view/edit/GroupsController.js
@@ -84,7 +84,7 @@ Ext.define('Traccar.view.edit.GroupsController', {
},
onSelectionChange: function (selection, selected) {
- var disabled = selected.length > 0;
+ var disabled = selected.length === 0;
this.lookupReference('toolbarGeofencesButton').setDisabled(disabled);
this.lookupReference('toolbarAttributesButton').setDisabled(disabled);
this.lookupReference('toolbarDriversButton').setDisabled(disabled);