From d87520a2cf9dc179f4fdec5038dedcaf112da19b Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 17 Aug 2015 12:12:51 -0400 Subject: [PATCH] FIX: Checkboxes weren't always being set properly. Note to all, `set()` values for computed properties must return the new value the same as `get()` does. --- app/assets/javascripts/admin/components/site-setting.js.es6 | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/admin/components/site-setting.js.es6 b/app/assets/javascripts/admin/components/site-setting.js.es6 index 09b0dfe19e4..f89996c70a5 100644 --- a/app/assets/javascripts/admin/components/site-setting.js.es6 +++ b/app/assets/javascripts/admin/components/site-setting.js.es6 @@ -34,6 +34,7 @@ export default Ember.Component.extend(BufferedContent, ScrollTop, { }, set(value) { this.set('buffered.value', value ? 'true' : 'false'); + return value; } },