liquid_feedback_frontend

view static/js/jsprotect.js @ 949:e616d8f16f14

Force JavaScript test before voting; Removed unneccessary "preview2" mechanism in voting script
author jbe
date Thu Nov 08 20:55:54 2012 +0100 (2012-11-08)
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