debug: add try-catch wrapper with alerts

This commit is contained in:
Dauren777 2026-06-11 06:36:52 +00:00
parent cbff97db9b
commit d2495bf929

View File

@ -249,6 +249,8 @@ tr:hover{background:#FAFBFC}
<p style="font-size:11px;color:#64748B;margin-top:8px">На корпоративную почту придёт уведомление о регистрации и напоминания о необходимости представления отчёта</p> <p style="font-size:11px;color:#64748B;margin-top:8px">На корпоративную почту придёт уведомление о регистрации и напоминания о необходимости представления отчёта</p>
</div></div></div> </div></div></div>
<script> <script>
try{
alert("JS OK");
var ALL_EVENTS=[ var ALL_EVENTS=[
{ {
"id": 1, "id": 1,
@ -1981,6 +1983,7 @@ function dlAnalyticsWord(){
var blob=new Blob([h],{type:"application/msword"});var a=document.createElement("a");a.href=URL.createObjectURL(blob);a.download="analytics.doc";a.click() var blob=new Blob([h],{type:"application/msword"});var a=document.createElement("a");a.href=URL.createObjectURL(blob);a.download="analytics.doc";a.click()
} }
</script></script></script></script></script></script></script></script></script>
}catch(e){alert("JS ERROR: "+e.message)}</script></script></script></script></script></script></script></script></script>
</body> </body>
</html> </html>