Skip to main content

Bug Tracker

Side navigation

#3967 closed bug (invalid)

Opened January 22, 2009 10:12PM UTC

Closed October 12, 2009 11:40PM UTC

[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

Attachments (0)
Change History (2)

Changed January 22, 2009 10:42PM UTC by andyblackwell comment:1

sorry, updated fix

return $(param).length > 0;

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

Changed October 12, 2009 11:40PM UTC by dmethvin comment:2

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 .