liquid_feedback_frontend

view static/js/jsprotect.js @ 1660:cbce4491c93e

Redirect to login from index page when no access rights
author bsw
date Sun Feb 14 13:35:16 2021 +0100 (2021-02-14)
parents b865f87ea810
children
line source
1 function jsProtect(f) {
2 if (!jsFail) try {
3 return f();
4 } catch (e) {
5 jsFail = true;
6 }
7 }

Impressum / About Us