CRM-13966 - select2 style tweaks
[civicrm-core.git] / templates / CRM / Contact / Form / Inline / Email.tpl
index 4a4c800e07ef57ec1143d025fded220a37d998e1..f7c77e99657428f981088473301ff2e7dfe4db83 100644 (file)
     cj(function($) {
       // check first primary radio
       $('#Email_1_IsPrimary').prop('checked', true );
-
-      // error handling / show hideen elements duing form validation
-      $('tr[id^="Email_Block_"]' ).each( function() {
-          if( $(this).find('td:first span').length > 0 ) {
-            $(this).removeClass('hiddenElement');
-          }
-      });
     });
-
 </script>
 {/literal}