Bug Tracker

Opened 11 years ago

Closed 10 years ago

#3967 closed bug (invalid)

[validate] dependTypes[string] error and fix

Reported by: andyblackwell Owned by:
Priority: major Milestone: 1.3.2
Component: plugin Version: 1.3.1
Keywords: [validate] Cc:
Blocked by: Blocking:

Description

line#671 in dependTypes

original:

return !!$(param, element.form).length;

fixed:

return !!$(element.form, param).length;

causes {required:'#myID:blank'} to silently fail and halt validation

Change History (2)

comment:1 Changed 11 years ago by andyblackwell

sorry, updated fix

return $(param).length > 0;

I can't tell what the element.form is supposed to be doing there?!

comment:2 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.