mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 22:41:26 +08:00
FIX: show error message when keys are missing in email template
FIX: log email template changes in the Staff Log
This commit is contained in:
@ -15,6 +15,7 @@ export default Ember.Controller.extend(bufferedProperty('emailTemplate'), {
|
||||
|
||||
actions: {
|
||||
saveChanges() {
|
||||
this.set('saved', false);
|
||||
const buffered = this.get('buffered');
|
||||
this.get('emailTemplate').save(buffered.getProperties('subject', 'body')).then(() => {
|
||||
this.set('saved', true);
|
||||
|
Reference in New Issue
Block a user