mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 23:17:02 +03:00
Fix js error (TypeError: Cannot call method 'settingsGet' of undefined)
+ small other fixes
This commit is contained in:
parent
cf0968b5a8
commit
726fa6982b
12 changed files with 87 additions and 124 deletions
|
|
@ -200,7 +200,7 @@ AdminApp.prototype.bootstart = function ()
|
|||
|
||||
kn.hideLoading();
|
||||
|
||||
if (!this.settingsGet('AllowAdminPanel'))
|
||||
if (!RL.settingsGet('AllowAdminPanel'))
|
||||
{
|
||||
kn.routeOff();
|
||||
kn.setHash(RL.link().root(), true);
|
||||
|
|
@ -212,10 +212,10 @@ AdminApp.prototype.bootstart = function ()
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!!this.settingsGet('Auth'))
|
||||
if (!!RL.settingsGet('Auth'))
|
||||
{
|
||||
// TODO
|
||||
// if (!this.settingsGet('AllowPackages') && AdminPackages)
|
||||
// if (!RL.settingsGet('AllowPackages') && AdminPackages)
|
||||
// {
|
||||
// Utils.disableSettingsViewModel(AdminPackages);
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue