Skip to content

Commit

Permalink
Messenger: fix Submit button missing from New Message when only posti…
Browse files Browse the repository at this point in the history
…ng to message wall
  • Loading branch information
SKuipers committed Dec 3, 2024
1 parent 9978e7c commit c3db609
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ v29.0.00
System: fixed string format errors in Spanish and Hebrew translation files
Behaviour: fixed behaviour fields hidden on Edit Behaviour Record screen
Behaviour: fixed users with Manage Behaviour Records_my unable to add follow up comments
Messenger: fixed Submit button missing from New Message when only posting to message wall
Messenger: fixed the PHP 7.4 syntax error in MessageTargets when sending a new message
Messenger: fixed the appearance of the Message Wall widget in the sidebar, removed auto scrolling
Planner: fixed planner actions to return to Year Overview page if they originated there
Expand Down
2 changes: 1 addition & 1 deletion modules/Messenger/src/Forms/MessageForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ public function createForm($action, $gibbonMessengerID = null)
$row->addSubmit();
} else {
// Preflight!
$form->addRow()->addClass('email')->addHeading('Preflight', __('Preflight'))->append(__("Before sending your message you'll have the option to preview the message as well as view a list of the recipients, based on your targets selected above. You can also choose to save your message as a draft and return to it later."));
$form->addRow()->addHeading('Preflight', __('Preflight'))->append(__("Before sending your message you'll have the option to preview the message as well as view a list of the recipients, based on your targets selected above. You can also choose to save your message as a draft and return to it later."))->addClass('email');

$row = $form->addRow()->addClass('email');
$row->addCheckbox('sendTestEmail')->description(__('Send a test copy to {email}', ['email' => '<u>'.$this->session->get('email').'</u>']))->setValue('Y');
Expand Down

0 comments on commit c3db609

Please sign in to comment.