CRM-14826 - Add no-popup class for Custom Search links (prevents contact summary...
authorDave Greenberg <dave@civicrm.org>
Wed, 11 Jun 2014 21:56:26 +0000 (14:56 -0700)
committerDave Greenberg <dave@civicrm.org>
Wed, 11 Jun 2014 21:56:26 +0000 (14:56 -0700)
----------------------------------------
* CRM-14826:
  https://issues.civicrm.org/jira/browse/CRM-14826

CRM/Contact/Selector/Custom.php

index 36a12037cf96a389646151a841f615884f5dd855..bb28ea8f7851a6439b9bd2aefb63566cf495c6ae 100644 (file)
@@ -181,12 +181,14 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
           'name' => ts('View'),
           'url' => 'civicrm/contact/view',
           'qs' => "reset=1&cid=%%id%%{$extraParams}{$searchContext}",
+          'class' => 'no-popup',
           'title' => ts('View Contact Details'),
         ),
         CRM_Core_Action::UPDATE => array(
           'name' => ts('Edit'),
           'url' => 'civicrm/contact/add',
           'qs' => 'reset=1&action=update&cid=%%id%%',
+          'class' => 'no-popup',
           'title' => ts('Edit Contact Details'),
         ),
       );
@@ -197,6 +199,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
           'name' => ts('Map'),
           'url' => 'civicrm/contact/map',
           'qs' => 'reset=1&cid=%%id%%&searchType=custom',
+          'class' => 'no-popup',
           'title' => ts('Map Contact'),
         );
       }