Fix CRM-12382
authorColeman Watts <coleman@civicrm.org>
Fri, 19 Apr 2013 05:49:45 +0000 (22:49 -0700)
committerColeman Watts <coleman@civicrm.org>
Fri, 19 Apr 2013 05:49:45 +0000 (22:49 -0700)
templates/CRM/Contact/Form/Relationship.tpl

index 98ca9dcb7d6103ae22c94e165b3e7acba96e9c8a..069bca5d837d8b54a9091f696193c28d0ffb52c2 100644 (file)
@@ -411,7 +411,7 @@ cj( function( ) {
         cj('#store_employers').val('');
     }
 
-    cj('.pagerDisplay tbody tr .contact_select input').click(function () {
+    cj('.pagerDisplay').on('click', '.contact_select input', function () {
         var valueSelected = cj(this).val();
         if ( cj(this).attr('checked') ) {
             contact_checked[valueSelected] =  valueSelected;
@@ -429,7 +429,7 @@ cj( function( ) {
     } );
 
     if ( useEmployer ) {
-        cj('.pagerDisplay tbody tr .'+ employerClass +' input').click( function () {
+        cj('.pagerDisplay').on('click', '.'+ employerClass +' input', function () {
             var valueSelected = cj(this).val();
             if ( isRadio ) {
                 employer_checked = new Array();