Project

General

Profile

Bug #2893 ยป cb.validator.patch

krileon, 26 October 2011 17:44

View differences:

administrator/components/com_comprofiler/library/cb/cb.validator.php
$('#cbcheckedadminForm input:checkbox,#cbcheckedadminForm input:radio').click( function() {
$('#cbcheckedadminForm').validate().element( $(this) );
} );
$( '#cbcheckedadminForm .cbDateinputJs select' ).change( function() {
var datefield = $(this).parent().prev('input');
if ( datefield.length ) {
$('#cbcheckedadminForm').validate().element( datefield );
}
} );
}
<?php
echo implode( "\n", self::$methods ) . "\n";
    (1-1/1)