aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/ToolbarController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/edit/ToolbarController.js')
-rw-r--r--web/app/view/edit/ToolbarController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/edit/ToolbarController.js b/web/app/view/edit/ToolbarController.js
index fdbaa7e4..2b2297a9 100644
--- a/web/app/view/edit/ToolbarController.js
+++ b/web/app/view/edit/ToolbarController.js
@@ -62,7 +62,7 @@ Ext.define('Traccar.view.edit.ToolbarController', {
});
},
- onSelectionChange: function (selected) {
+ onSelectionChange: function (selection, selected) {
var disabled = selected.length > 0;
this.lookupReference('toolbarEditButton').setDisabled(disabled);
this.lookupReference('toolbarRemoveButton').setDisabled(disabled);