liquid_feedback_frontend

view static/js/jsprotect.js @ 1535:770ab0a7f79b

Added optional callback after creation of new draft
author bsw
date Tue Oct 06 19:31:19 2020 +0200 (2020-10-06)
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