Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1245 closed bug (fixed)

Bug with submitHandler

Reported by: nikola Owned by:
Priority: major Milestone: 1.1.3
Component: plugin Version: 1.1.2
Keywords: Cc:
Blocked by: Blocking:

Description

wtf is this!!!

243 if ( validator.form() ) {
244   return validator.settings.submitHandler
245	&& validator.settings.submitHandler( validator.currentForm )
246	&& false
247	|| true
248 }

This always returns TRUE!!!! Fix it like this, please:

return validator.settings.submitHandler &&
  validator.settings.submitHandler( validator.currentForm );

Change History (3)

comment:1 Changed 13 years ago by nikola

It's about jquery.validate.js :)

comment:2 Changed 13 years ago by john

Component: ajaxplugin

comment:3 Changed 13 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in 1.0

Note: See TracTickets for help on using tickets.