diff --git a/app/assets/javascripts/admin/mixins/setting-component.js.es6 b/app/assets/javascripts/admin/mixins/setting-component.js.es6
index 9636c47732d..532abe8f20c 100644
--- a/app/assets/javascripts/admin/mixins/setting-component.js.es6
+++ b/app/assets/javascripts/admin/mixins/setting-component.js.es6
@@ -84,7 +84,7 @@ export default Ember.Mixin.create({
this.$().on("keydown.setting-enter", ".input-setting-string", function(e) {
if (e.keyCode === 13) {
// enter key
- self._save();
+ self.send("save");
}
});
}.on("didInsertElement"),
@@ -122,7 +122,7 @@ export default Ember.Mixin.create({
resetDefault() {
this.set("buffered.value", this.get("setting.default"));
- this._save();
+ this.send("save");
},
toggleSecret() {
diff --git a/app/assets/javascripts/admin/templates/components/site-setting.hbs b/app/assets/javascripts/admin/templates/components/site-setting.hbs
index 03e5433fd05..558781c33d5 100644
--- a/app/assets/javascripts/admin/templates/components/site-setting.hbs
+++ b/app/assets/javascripts/admin/templates/components/site-setting.hbs
@@ -13,5 +13,5 @@
{{#if setting.secret}}
{{d-button action="toggleSecret" icon="eye-slash"}}
{{/if}}
- {{d-button action="resetDefault" icon="undo" label="admin.settings.reset"}}
+ {{d-button class="undo" action="resetDefault" icon="undo" label="admin.settings.reset"}}
{{/if}}
diff --git a/app/assets/javascripts/admin/templates/site-settings.hbs b/app/assets/javascripts/admin/templates/site-settings.hbs
index 61e57209b76..8a1b8afcf3b 100644
--- a/app/assets/javascripts/admin/templates/site-settings.hbs
+++ b/app/assets/javascripts/admin/templates/site-settings.hbs
@@ -1,9 +1,9 @@
-
+
{{d-button action="toggleMenu" class="menu-toggle" icon="bars"}}
- {{text-field value=filter placeholderKey="type_to_filter" class="no-blur"}}
- {{d-button action="clearFilter" label="admin.site_settings.clear_filter"}}
+ {{text-field id="setting-filter" value=filter placeholderKey="type_to_filter" class="no-blur"}}
+ {{d-button id="clear-filter" action="clearFilter" label="admin.site_settings.clear_filter"}}