FEATURE: Admin interface for editing email templates

This commit is contained in:
Robin Ward
2015-11-12 16:08:19 -05:00
parent e168c5fde3
commit f5b34d5f53
26 changed files with 240 additions and 60 deletions

View File

@ -2,9 +2,7 @@ export default Ember.Controller.extend({
saved: false,
saveDisabled: function() {
if (this.get('model.isSaving')) { return true; }
if ((!this.get('allow_blank')) && Ember.isEmpty(this.get('model.value'))) { return true; }
return false;
return ((!this.get('allow_blank')) && Ember.isEmpty(this.get('model.value')));
}.property('model.iSaving', 'model.value'),
actions: {