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:
Gerhard Schlager
2017-09-27 11:05:26 +02:00
parent 5324c01209
commit 1a37812625
3 changed files with 61 additions and 4 deletions

View File

@ -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);