Add searchForm css wherever alpha pager is used
authorColeman Watts <coleman@civicrm.org>
Tue, 20 Oct 2015 20:21:48 +0000 (16:21 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 20 Oct 2015 21:31:51 +0000 (17:31 -0400)
CRM/Contribute/Page/ContributionPage.php
CRM/Event/Page/ManageEvent.php
CRM/Mailing/Page/Browse.php

index d7d456cf5b501dad21b485df9e7807bee132f9e3..a133520f249af4e750b72a5590b1a3ef3ba6c2bd 100644 (file)
@@ -389,6 +389,8 @@ AND         cp.page_type = 'contribute'
    *   Unused parameter.
    */
   public function browse($action = NULL) {
+    Civi::resources()->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header');
+
     $this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter',
       'String',
       $this
index 7c17945ecdb42df28f6e000af9bb817092e8cc68..dc57ff0cbd843af53f6a2a3cb22a5c44359c5438 100644 (file)
@@ -248,6 +248,8 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page {
    * @return void
    */
   public function browse() {
+    Civi::resources()->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header');
+
     $this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter',
       'String',
       $this
index 5d3675fa1dfd09927846f1c0c8702134f0c441dc..33c7e81a141f6e0e68699c00464aed9b8c1fae16 100644 (file)
@@ -78,6 +78,8 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page {
    * the contact and calls the appropriate type of page to view.
    */
   public function preProcess() {
+    Civi::resources()->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header');
+
     $this->_unscheduled = $this->_archived = $archiveLinks = FALSE;
     $this->_mailingId = CRM_Utils_Request::retrieve('mid', 'Positive', $this);
     $this->_sms = CRM_Utils_Request::retrieve('sms', 'Positive', $this);