From: Dave Greenberg Date: Wed, 11 Jun 2014 21:56:26 +0000 (-0700) Subject: CRM-14826 - Add no-popup class for Custom Search links (prevents contact summary... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d3fcd52ffa8ce951ffdd5daa828a2c3683c1081e;p=civicrm-core.git 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 --- 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'), ); }