aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ReportConfigController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/ReportConfigController.js')
-rw-r--r--web/app/view/ReportConfigController.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/web/app/view/ReportConfigController.js b/web/app/view/ReportConfigController.js
index 955b2e96..5ede1830 100644
--- a/web/app/view/ReportConfigController.js
+++ b/web/app/view/ReportConfigController.js
@@ -25,28 +25,6 @@ Ext.define('Traccar.view.ReportConfigController', {
'Traccar.store.AllNotifications'
],
- init: function () {
- var store = this.lookupReference('eventTypeField').getStore();
- if (store.getCount() === 0) {
- store.add({
- type: Traccar.store.ReportEventTypes.allEvents,
- name: Strings.eventAll
- });
- Ext.create('Traccar.store.AllNotifications').load({
- scope: this,
- callback: function (records, operation, success) {
- var i, value;
- if (success) {
- for (i = 0; i < records.length; i++) {
- value = records[i].get('type');
- store.add({type: value, name: Traccar.app.getEventString(value)});
- }
- }
- }
- });
- }
- },
-
onSaveClick: function (button) {
var eventType;
this.getView().callingPanel.deviceId = this.lookupReference('deviceField').getValue();