From d3fcd52ffa8ce951ffdd5daa828a2c3683c1081e Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Wed, 11 Jun 2014 14:56:26 -0700 Subject: [PATCH] CRM-14826 - Add no-popup class for Custom Search links (prevents contact summary and edit form from loading in a popup). ---------------------------------------- * CRM-14826: https://issues.civicrm.org/jira/browse/CRM-14826 --- CRM/Contact/Selector/Custom.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Contact/Selector/Custom.php b/CRM/Contact/Selector/Custom.php index 36a12037cf..bb28ea8f78 100644 --- a/CRM/Contact/Selector/Custom.php +++ b/CRM/Contact/Selector/Custom.php @@ -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'), ); } -- 2.25.1