Support for custom Privacy Policies

This commit is contained in:
Robin Ward
2013-06-26 10:57:35 -04:00
parent 196a8f4ba5
commit 89f182899f
16 changed files with 50 additions and 11 deletions
@@ -9,8 +9,8 @@
Discourse.AdminSiteContentEditController = Discourse.Controller.extend({
saveDisabled: function() {
if (this.get('saving')) return true;
if (this.blank('content.content')) return true;
if (this.get('saving')) { return true; }
if ((!this.get('content.allow_blank')) && this.blank('content.content')) { return true; }
return false;
}.property('saving', 'content.content'),