From: Coleman Watts Date: Wed, 19 Mar 2014 03:00:41 +0000 (-0400) Subject: CRM-13863 - Add livePage to case dashboard X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a44001964fb0630215cc5990cd09e604d029274b;p=civicrm-core.git CRM-13863 - Add livePage to case dashboard --- diff --git a/CRM/Case/Page/DashBoard.php b/CRM/Case/Page/DashBoard.php index 5ce46ede0f..eaba3fa7c5 100644 --- a/CRM/Case/Page/DashBoard.php +++ b/CRM/Case/Page/DashBoard.php @@ -38,6 +38,8 @@ */ class CRM_Case_Page_DashBoard extends CRM_Core_Page { + public $useLivePageJS = TRUE; + /** * Heart of the viewing process. The runner gets all the meta data for * the contact and calls the appropriate type of page to view. @@ -96,6 +98,7 @@ class CRM_Case_Page_DashBoard extends CRM_Core_Page { if (!empty($recent)) { $this->assign('recentCases', $recent); } + $this->assign('includeWysiwygEditor', TRUE); } /** diff --git a/CRM/Case/Selector/Search.php b/CRM/Case/Selector/Search.php index b550aff743..8b34ae6718 100644 --- a/CRM/Case/Selector/Search.php +++ b/CRM/Case/Selector/Search.php @@ -223,6 +223,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'url' => 'civicrm/contact/view/case/editClient', 'qs' => 'reset=1&action=update&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'ref' => 'reassign', + 'class' => 'medium-popup', 'title' => ts('Assign to Another Client'), ), ); diff --git a/templates/CRM/Case/Page/DashBoard.tpl b/templates/CRM/Case/Page/DashBoard.tpl index 22b7af6169..78f0d7ddd5 100644 --- a/templates/CRM/Case/Page/DashBoard.tpl +++ b/templates/CRM/Case/Page/DashBoard.tpl @@ -36,7 +36,7 @@ {if $newClient and $allowToAddNewCase}
{ts}Add Case{/ts}
{/if} - {ts}Find My Cases{/ts} + {ts}Find My Cases{/ts}
{if $myCases}