diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-03-12 22:38:07 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-03-12 22:46:24 -0800 |
commit | c92c5c5a805dfe6927e5c45f677bb386861b4917 (patch) | |
tree | 44aac1f9b26f4ddeecb7d46d92018761a4fad75a | |
parent | cdb873bef8bfc951a7d95e55c995ac0d186c3143 (diff) | |
download | trackermap-web-c92c5c5a805dfe6927e5c45f677bb386861b4917.tar.gz trackermap-web-c92c5c5a805dfe6927e5c45f677bb386861b4917.tar.bz2 trackermap-web-c92c5c5a805dfe6927e5c45f677bb386861b4917.zip |
Remove websocker error message
-rw-r--r-- | web/app/controller/Root.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index 0f9f3453..81efe115 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -219,8 +219,6 @@ Ext.define('Traccar.controller.Root', { socket = new WebSocket(protocol + '//' + window.location.host + pathname + 'api/socket'); socket.onclose = function () { - Traccar.app.showToast(Strings.errorSocket, Strings.errorTitle); - Ext.Ajax.request({ url: 'api/devices', success: function (response) { |