mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Renaming site contents to site text
This commit is contained in:
@@ -4,9 +4,9 @@ export default Ember.ObjectController.extend({
|
||||
|
||||
saveDisabled: function() {
|
||||
if (this.get('saving')) { return true; }
|
||||
if ((!this.get('content.allow_blank')) && Ember.empty(this.get('content.content'))) { return true; }
|
||||
if ((!this.get('allow_blank')) && Ember.empty(this.get('value'))) { return true; }
|
||||
return false;
|
||||
}.property('saving', 'content.content'),
|
||||
}.property('saving', 'value'),
|
||||
|
||||
actions: {
|
||||
saveChanges: function() {
|
||||
Reference in New Issue
Block a user