[Mono-dev] [PATCH] unbreak postbacks (fix for r70294)

Marek Habersack grendello at gmail.com
Wed Jan 3 17:14:09 EST 2007


On Wed, 03 Jan 2007 10:15:43 -0500, joel reed <joel.reed at ddiworld.com>
scribbled:

Hello Joel,

> I've experienced this breakage too and fixed in my local tree, but 
> haven't posted. Thanks for beating me to it.
> 
> Accd to:
> http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Functions#Example:_Determining_whether_a_function_exists
> 
> This might be better:
> 
> if ((typeof ValidatorOnSubmit == 'function') && !ValidatorOnSubmit()) 
> return;
> 
How backwards compatible, re javascript version, this code is?

best,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070103/b95eb7cb/attachment.bin 


More information about the Mono-devel-list mailing list