diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-20 16:10:36 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-20 16:10:54 +1200 |
commit | fa5f3054efe7ca926f49f19da45013e1cf1ed81c (patch) | |
tree | c12a41c974245658730498ee011f1e45c7d5ff09 /web/app/view/edit/GroupsController.js | |
parent | de3a9b3cdf1386b72dbd2e3b34d3fe8caa808601 (diff) | |
download | trackermap-web-fa5f3054efe7ca926f49f19da45013e1cf1ed81c.tar.gz trackermap-web-fa5f3054efe7ca926f49f19da45013e1cf1ed81c.tar.bz2 trackermap-web-fa5f3054efe7ca926f49f19da45013e1cf1ed81c.zip |
Enable edit buttons on selection
Diffstat (limited to 'web/app/view/edit/GroupsController.js')
-rw-r--r-- | web/app/view/edit/GroupsController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/edit/GroupsController.js b/web/app/view/edit/GroupsController.js index 34eec8da..9ced956c 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); |