CRM-13966 - select2 style tweaks
[civicrm-core.git] / templates / CRM / Contact / Form / Inline / Email.tpl
index d0964607ddb43e6077c80b100d50bea3f3c4b463..f7c77e99657428f981088473301ff2e7dfe4db83 100644 (file)
@@ -1,6 +1,6 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
     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}