aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/CalendarDialogController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-01-10 13:31:30 +0500
committerAbyss777 <abyss@fox5.ru>2017-01-10 13:31:30 +0500
commitda4fabbd8e854379e4bc4ffb0967feee2d77cfd1 (patch)
tree84aaf22f7634a1ed62b6608b2ad7c67cac833116 /web/app/view/CalendarDialogController.js
parent80a1febd87a4c57ef9d0874cfb7ec06d5603e6af (diff)
downloadtrackermap-web-da4fabbd8e854379e4bc4ffb0967feee2d77cfd1.tar.gz
trackermap-web-da4fabbd8e854379e4bc4ffb0967feee2d77cfd1.tar.bz2
trackermap-web-da4fabbd8e854379e4bc4ffb0967feee2d77cfd1.zip
Rename calendarData to data
Diffstat (limited to 'web/app/view/CalendarDialogController.js')
-rw-r--r--web/app/view/CalendarDialogController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/CalendarDialogController.js b/web/app/view/CalendarDialogController.js
index 48400bc5..a111ded6 100644
--- a/web/app/view/CalendarDialogController.js
+++ b/web/app/view/CalendarDialogController.js
@@ -25,7 +25,7 @@ Ext.define('Traccar.view.CalendarDialogController', {
if (fileField.fileInputEl.dom.files.length > 0) {
reader = new FileReader();
reader.onload = function (event) {
- fileField.up('window').lookupReference('calendarDataField').setValue(
+ fileField.up('window').lookupReference('dataField').setValue(
btoa(String.fromCharCode.apply(null, new Uint8Array(event.target.result))));
};
reader.onerror = function (event) {