bihealth / sodar-core

SODAR Core: A Django-based framework for building scientific data management web apps
MIT License
9 stars 1 forks source link

JS errors from toggleSidebar() #970

Open mikkonie opened 2 years ago

mikkonie commented 2 years ago

Varfish apparently has problems with projectroles.js regarding the sidebar resizing, resulting in a window.sidebar.is is not a function error.

Probably this happens if executing the code when the sidebar has not yet been properly loaded. So far I've been unable to reproduce here.

Sentry report here.

mikkonie commented 2 years ago

mentioned in commit b1c05956fa6e7dc0e89f0081214a5fdda3e53d8f

mikkonie commented 2 years ago

I did some refactoring for oddities in the code which may be the cause here, unsure as I can't reproduce this locally.

Setting this as "ongoing" and monitoring the situation.