Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#3736 - Fix uploaded file on message template form #24004

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

demeritcowboy
Copy link
Contributor

Overview

https://lab.civicrm.org/dev/core/-/issues/3736

Before

  1. Admin - CiviMail - Message Templates
  2. Add message template
  3. Choose upload document for the Source.
  4. Upload a document - just a simple Word doc is fine - the file itself doesn't seem to be the issue.
  5. When you click "Save and Done" it doesn't get uploaded. It does work if you click "Save".

After

Good.

Technical Details

The button type needs to be upload.

Comments

See also

'type' => 'upload',
'name' => ts('Save'),
'isDefault' => TRUE,
],
[
'type' => 'upload',
'name' => ts('Save and Done'),
'spacing' => '                 ',
'subName' => 'done',
, so this is the same except there's no attachment over there but the point is you can have two upload buttons. I've refrained though from copying over the '                 ',, which as far as I can see doesn't do anything.

@civibot
Copy link

civibot bot commented Jul 16, 2022

(Standard links)

@civibot civibot bot added the master label Jul 16, 2022
@eileenmcnaughton eileenmcnaughton merged commit 2cdf657 into civicrm:master Jul 18, 2022
@demeritcowboy
Copy link
Contributor Author

Thanks!

@demeritcowboy demeritcowboy deleted the upload-woes branch July 18, 2022 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants