Backend settings are not being displayed on page load when the user is not an admin (#497).

This commit is contained in:
alext 2018-06-03 15:58:44 +02:00
parent 55d8c1e1fe
commit 0e3ff2493e
2 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- #483: In backend, calendar for providers become unselectable if switched to calendar for service.
- #491: Replace hardcoded string with translation in appointment details email template.
- #495: Database migration fixes (from 1.2.1 to 1.3.x).
- #497: Backend settings are not being displayed on page load when the user is not an admin.
## [1.3.0]

View File

@ -102,8 +102,8 @@ window.BackendSettings = window.BackendSettings || {};
if (bindEventHandlers) {
_bindEventHandlers();
$('#settings-page .nav li').first().addClass('active');
$('#settings-page .nav li').first().find('a').trigger('click');
var $link = $('#settings-page .nav li').not('.hidden').first().find('a');
$link.tab('show');
}
// Apply Privileges