# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/library/cb/cb.validator.php +++ administrator/components/com_comprofiler/library/cb/cb.validator.php @@ -160,6 +160,12 @@ $('#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 ); + } + } ); \ No newline at end of file }