diff --git a/src/application/views/backend/settings.php b/src/application/views/backend/settings.php index 434458d5..78fd82b4 100755 --- a/src/application/views/backend/settings.php +++ b/src/application/views/backend/settings.php @@ -28,24 +28,26 @@ }); + +
@@ -55,7 +57,7 @@ -
+
@@ -163,7 +165,7 @@ -
+
@@ -327,7 +329,7 @@ -
+
@@ -432,7 +434,7 @@ -
+

Easy!Appointments

diff --git a/src/assets/js/backend_settings.js b/src/assets/js/backend_settings.js index 53359cc1..c5f0e2d6 100644 --- a/src/assets/js/backend_settings.js +++ b/src/assets/js/backend_settings.js @@ -97,8 +97,12 @@ window.BackendSettings = window.BackendSettings || {}; $('#user-notifications').removeClass('active'); } - // Set default settings helper. - settings = new SystemSettings(); + if($('#current-user').hasClass('active')){ + settings = new UserSettings(); + }else{ + // Set default settings helper. + settings = new SystemSettings(); + } if (bindEventHandlers) { _bindEventHandlers();