From 6f66af2b06832b81018916b0776e90d7f0ba6a05 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 1 Dec 2011 18:55:54 +0000 Subject: [PATCH] no longer deactivate submit buttons if validation fails (3444948) --- lam/templates/lib/140_jquery-validationEngine-2.2.1.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/templates/lib/140_jquery-validationEngine-2.2.1.js b/lam/templates/lib/140_jquery-validationEngine-2.2.1.js index 352a0171..7fdad0e6 100644 --- a/lam/templates/lib/140_jquery-validationEngine-2.2.1.js +++ b/lam/templates/lib/140_jquery-validationEngine-2.2.1.js @@ -60,7 +60,7 @@ form.find("[class*=validate][class*=datepicker]").bind(options.validationEventTrigger,{"delay": 300}, methods._onFieldEvent); // bind form.submit - form.bind("submit", methods._onSubmitEvent); + //form.bind("submit", methods._onSubmitEvent); } else if (options.bindMethod == "live") { // bind fields with LIVE (for persistant state) form.find("[class*=validate]").not("[type=checkbox]").not(".datepicker").live(options.validationEventTrigger, methods._onFieldEvent); @@ -69,7 +69,7 @@ form.find("[class*=validate][class*=datepicker]").live(options.validationEventTrigger,{"delay": 300}, methods._onFieldEvent); // bind form.submit - form.live("submit", methods._onSubmitEvent); + //form.live("submit", methods._onSubmitEvent); } options.binded = true;