aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/ToolbarController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-15 18:01:12 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-15 18:01:12 +1200
commit167dec228bf9227fbf1f9fa4a428b8bb309c5f94 (patch)
tree10f00593931a426aacf97a08d105f8dafda0b427 /web/app/view/edit/ToolbarController.js
parentdab4694bcab525bcc26e6af42aacc45901093dc2 (diff)
downloadtrackermap-web-167dec228bf9227fbf1f9fa4a428b8bb309c5f94.tar.gz
trackermap-web-167dec228bf9227fbf1f9fa4a428b8bb309c5f94.tar.bz2
trackermap-web-167dec228bf9227fbf1f9fa4a428b8bb309c5f94.zip
Improvement to events panel
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);