Skip to content

Commit

Permalink
Merge pull request #21474 from MegaphoneJon/core-2318
Browse files Browse the repository at this point in the history
fixes core#2318: fix cancel button when sending an individual email
  • Loading branch information
demeritcowboy authored Sep 14, 2021
2 parents 19d41af + a2b238d commit 8761e15
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CRM/Contact/Form/Task/EmailTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,8 @@ public function buildQuickForm() {

$session = CRM_Core_Session::singleton();
$session->replaceUserContext($url);
$this->addDefaultButtons(ts('Send Email'), 'upload', 'cancel');
}
else {
$this->addDefaultButtons(ts('Send Email'), 'upload');
}
$this->addDefaultButtons(ts('Send Email'), 'upload', 'cancel');

$fields = [
'followup_assignee_contact_id' => [
Expand Down

0 comments on commit 8761e15

Please sign in to comment.