Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#883 closed bug (fixed)

There could be scenarios where value has no properties inside the prop function.

Reported by: [email protected] Owned by:
Priority: minor Milestone:
Component: core Version:
Keywords: prop Cc:
Blocked by: Blocking:

Description (last modified by joern)

On Line 318, inside the prop function, we are checking "if ( value.constructor == Number....". This could throw an error in some scenarios where value has no properties at all. For me, this happened here,

$(document).ready(function() {
	$("form.valdiate").each(function() {
			$(this).attr({ target: $(this).attr("onsubmit")});  // very weird way for a callback after form validation:)
			$(this).attr({ onsubmit: ""});

Change History (1)

comment:1 Changed 16 years ago by joern

Description: modified (diff)
Resolution: fixed
Status: newclosed

Fixed in revision 1241.

Note: See TracTickets for help on using tickets.