CRM-14895 - Do not load Schedule Reminders form in pop-up to prevent scrollbar jumpin...
authorDave Greenberg <dave@civicrm.org>
Fri, 20 Jun 2014 23:20:45 +0000 (16:20 -0700)
committerDave Greenberg <dave@civicrm.org>
Fri, 20 Jun 2014 23:20:45 +0000 (16:20 -0700)
----------------------------------------
* CRM-14895:
  https://issues.civicrm.org/jira/browse/CRM-14895

CRM/Admin/Page/ScheduleReminders.php
templates/CRM/Admin/Page/ScheduleReminders.tpl

index 4f375464d284d8aa59b7f79792cf28ed34a251c3..d93f58954e5bcc889b18fc2a82c5b5f83f869139 100644 (file)
@@ -72,6 +72,7 @@ class CRM_Admin_Page_ScheduleReminders extends CRM_Core_Page_Basic {
           'url' => 'civicrm/admin/scheduleReminders',
           'qs' => 'action=update&id=%%id%%&reset=1',
           'title' => ts('Edit Schedule Reminders'),
+          'class' => 'no-popup',
         ),
         CRM_Core_Action::ENABLE => array(
           'name' => ts('Enable'),
index d6e5e7a296d2cc0e7d3438dfd96fac90705e3b38..234011941d823a64d62ebc8e326f6e81cd5d78b9 100644 (file)
@@ -39,7 +39,7 @@
     <div id="reminder">
       {include file="CRM/Admin/Page/Reminders.tpl"}
       <div class="action-link">
-        <a href="{crmURL q="action=add&reset=1"}" id="newScheduleReminder" class="button"><span><div class="icon add-icon"></div>{ts}Add Reminder{/ts}</span></a>
+        <a href="{crmURL q="action=add&reset=1"}" id="newScheduleReminder" class="button no-popup"><span><div class="icon add-icon"></div>{ts}Add Reminder{/ts}</span></a>
       </div>
 
     </div>
@@ -47,7 +47,7 @@
 {else}
     <div class="messages status no-popup">
       <div class="icon inform-icon"></div>
-        {capture assign=crmURL}href="{crmURL p='civicrm/admin/scheduleReminders' q="action=add&reset=1"}" class="action-item"{/capture}
+        {capture assign=crmURL}class="no-popup" href="{crmURL p='civicrm/admin/scheduleReminders' q="action=add&reset=1"}" class="action-item"{/capture}
         {ts 1=$crmURL}There are no Scheduled Reminders configured. You can <a %1>add one</a>.{/ts}
     </div>
 {/if}