aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Report.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-30 09:02:21 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-30 09:02:21 +0500
commita09d2276f093504f8ab07bfadf0fbb3854ce5292 (patch)
treedc7aeb531740598e929af48b56404c477b9d4da8 /web/app/view/Report.js
parent9829184c5f941fd32d9d6c351dbdd113f00d352d (diff)
downloadtrackermap-server-a09d2276f093504f8ab07bfadf0fbb3854ce5292.tar.gz
trackermap-server-a09d2276f093504f8ab07bfadf0fbb3854ce5292.tar.bz2
trackermap-server-a09d2276f093504f8ab07bfadf0fbb3854ce5292.zip
Disable buttons if report not configured
Diffstat (limited to 'web/app/view/Report.js')
-rw-r--r--web/app/view/Report.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/app/view/Report.js b/web/app/view/Report.js
index 161ac4c64..02513c05f 100644
--- a/web/app/view/Report.js
+++ b/web/app/view/Report.js
@@ -46,10 +46,12 @@ Ext.define('Traccar.view.Report', {
}, '-', {
text: Strings.reportShow,
reference: 'showButton',
+ disabled: true,
handler: 'onReportClick'
}, {
text: Strings.reportCsv,
reference: 'csvButton',
+ disabled: true,
handler: 'onReportClick'
}, {
text: Strings.reportClear,