aboutsummaryrefslogtreecommitdiff
path: root/web/app/controller/Root.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-06-26 12:00:15 +0500
committerAbyss777 <abyss@fox5.ru>2018-06-26 13:55:11 +0500
commit17157262fef1c046d116b2270f4e1d335fe9da1b (patch)
tree751583dde65b666e4ab249b26010b7bec6f279b6 /web/app/controller/Root.js
parentd67213556dcc87453c0ad5cd6f9e8851c477a2f3 (diff)
downloadetbsa-traccar-web-17157262fef1c046d116b2270f4e1d335fe9da1b.tar.gz
etbsa-traccar-web-17157262fef1c046d116b2270f4e1d335fe9da1b.tar.bz2
etbsa-traccar-web-17157262fef1c046d116b2270f4e1d335fe9da1b.zip
Implement refactored notifications
Diffstat (limited to 'web/app/controller/Root.js')
-rw-r--r--web/app/controller/Root.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index 312fc15..0edc049 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -129,6 +129,7 @@ Ext.define('Traccar.controller.Root', {
}
}
});
+ Ext.getStore('AllNotificators').load();
Ext.getStore('Notifications').load();
Ext.getStore('ServerAttributes').loadData(Ext.getStore('CommonDeviceAttributes').getData().items, true);
@@ -289,6 +290,8 @@ Ext.define('Traccar.controller.Root', {
this.beep();
}
Traccar.app.showToast(array[i].text, device.get('name'));
+ } else {
+ Traccar.app.showToast(array[i].text);
}
}
},