Project

General

Profile

cb.validator.patch

krileon, 26 October 2011 05:44 PM

View differences:

administrator/components/com_comprofiler/library/cb/cb.validator.php
160 160
	$('#cbcheckedadminForm input:checkbox,#cbcheckedadminForm input:radio').click( function() {
161 161
		$('#cbcheckedadminForm').validate().element( $(this) );
162 162
	} );
163
	$( '#cbcheckedadminForm .cbDateinputJs select' ).change( function() {
164
		var datefield	=	$(this).parent().prev('input');
165
		if ( datefield.length ) {
166
			$('#cbcheckedadminForm').validate().element( datefield );
167
		}
168
	} );
163 169
}
164 170
<?php
165 171
		echo implode( "\n", self::$methods ) . "\n";