mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 22:52:35 +03:00
Backend settings are not being displayed on page load when the user is not an admin (#497).
This commit is contained in:
parent
55d8c1e1fe
commit
0e3ff2493e
2 changed files with 3 additions and 2 deletions
|
@ -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]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue