Commit 3a130edf authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

NCALayer.js - принудительное скрытие лоадера в случае ошибки

parent e65f5f15
......@@ -35,6 +35,7 @@ this.NCALayer = {
}
this.webSocket.onerror = function(error) {
Cons.hideLoader();
me.connect = null;
console.log('[NCALayer error]', error);
UIkit.modal.alert(`<span>Убедитесь что программа NCALayer запущена и повторите попытку.<br><a href="https://pki.gov.kz/ncalayer/" target="_blank">Инструкция по запуску программы</a></span>`);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment