diff --git a/src/application/views/backend/settings.php b/src/application/views/backend/settings.php index d3e2b107..d71ad699 100644 --- a/src/application/views/backend/settings.php +++ b/src/application/views/backend/settings.php @@ -117,6 +117,17 @@ lang->line('date_format_hint'); ?> +
+ +
+ + + lang->line('customer_notifications_hint'); ?> + +
- -
- -

lang->line('customer_notifications'); ?>

- - lang->line('customer_notifications_hint'); ?> - -
- -

lang->line('breaks'); ?>

diff --git a/src/assets/js/backend_settings.js b/src/assets/js/backend_settings.js index 692e54ba..cd2456d2 100644 --- a/src/assets/js/backend_settings.js +++ b/src/assets/js/backend_settings.js @@ -271,6 +271,11 @@ SystemSettings.prototype.get = function() { }); }); + settings.push({ + 'name': 'customer_notifications', + 'value': $('#customer-notifications').hasClass('active') === true ? '1' : '0' + }); + settings.push({ 'name': 'require_captcha', 'value': $('#require-captcha').hasClass('active') === true ? '1' : '0' @@ -287,11 +292,6 @@ SystemSettings.prototype.get = function() { 'value': $('#book-advance-timeout').val() }); - settings.push({ - 'name': 'customer_notifications', - 'value': $('#customer-notifications').hasClass('active') === true ? '1' : '0' - }); - return settings; };