From 2cc5774efae5628fd8583c3db1f0287bdbefd653 Mon Sep 17 00:00:00 2001 From: Davi Alexandre Date: Tue, 18 Dec 2018 10:17:27 -0200 Subject: [PATCH] Don't redirect to the Option Groups page when page is displayed in a modal --- templates/CRM/Admin/Page/Options.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Admin/Page/Options.tpl b/templates/CRM/Admin/Page/Options.tpl index 790ff05188ce..cf9389a62c1f 100644 --- a/templates/CRM/Admin/Page/Options.tpl +++ b/templates/CRM/Admin/Page/Options.tpl @@ -175,7 +175,7 @@ {if $isLocked ne 1} {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{ts 1=$gLabel}Add %1{/ts}{/crmButton} {/if} - {crmButton p="civicrm/admin/options" q="action=browse&reset=1" class="next no-popup" icon="check"}{ts}Done{/ts}{/crmButton} + {crmButton p="civicrm/admin/options" q="action=browse&reset=1" class="cancel" icon="check"}{ts}Done{/ts}{/crmButton} {/if}