mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +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
|
|
@ -35,20 +35,6 @@ function AdminGeneral()
|
||||||
return Utils.convertLangName(this.mainLanguage());
|
return Utils.convertLangName(this.mainLanguage());
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
this.languagesOptions = ko.computed(function () {
|
|
||||||
return _.map(oData.languages(), function (sLanguage) {
|
|
||||||
var
|
|
||||||
sName = Utils.convertLangName(sLanguage),
|
|
||||||
sEn = Utils.convertLangName(sLanguage, true)
|
|
||||||
;
|
|
||||||
|
|
||||||
return {
|
|
||||||
'optValue': sLanguage,
|
|
||||||
'optText': sName + (sEn !== sName ? ' (' + sEn + ')' : '')
|
|
||||||
};
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
this.contactsSupported = RL.settingsGet('ContactsIsSupported');
|
this.contactsSupported = RL.settingsGet('ContactsIsSupported');
|
||||||
this.contactsIsAllowed = RL.settingsGet('ContactsIsAllowed');
|
this.contactsIsAllowed = RL.settingsGet('ContactsIsAllowed');
|
||||||
this.weakPassword = !!RL.settingsGet('WeakPassword');
|
this.weakPassword = !!RL.settingsGet('WeakPassword');
|
||||||
|
|
|
||||||
|
|
@ -143,15 +143,12 @@ AbstractApp.prototype.settingsSet = function (sName, mValue)
|
||||||
AbstractApp.prototype.setTitle = function (sTitle)
|
AbstractApp.prototype.setTitle = function (sTitle)
|
||||||
{
|
{
|
||||||
sTitle = ((0 < sTitle.length) ? sTitle + ' - ' : '') +
|
sTitle = ((0 < sTitle.length) ? sTitle + ' - ' : '') +
|
||||||
this.settingsGet('Title') || '';
|
RL.settingsGet('Title') || '';
|
||||||
|
|
||||||
if (sTitle !== window.document.title)
|
window.document.title = sTitle;
|
||||||
{
|
_.delay(function () {
|
||||||
window.document.title = sTitle;
|
window.document.title = sTitle;
|
||||||
_.delay(function () {
|
}, 5);
|
||||||
window.document.title = sTitle;
|
|
||||||
}, 5);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -161,8 +158,8 @@ AbstractApp.prototype.setTitle = function (sTitle)
|
||||||
AbstractApp.prototype.loginAndLogoutReload = function (bLogout, bClose)
|
AbstractApp.prototype.loginAndLogoutReload = function (bLogout, bClose)
|
||||||
{
|
{
|
||||||
var
|
var
|
||||||
sCustomLogoutLink = Utils.pString(this.settingsGet('CustomLogoutLink')),
|
sCustomLogoutLink = Utils.pString(RL.settingsGet('CustomLogoutLink')),
|
||||||
bInIframe = !!this.settingsGet('InIframe')
|
bInIframe = !!RL.settingsGet('InIframe')
|
||||||
;
|
;
|
||||||
|
|
||||||
bLogout = Utils.isUnd(bLogout) ? false : !!bLogout;
|
bLogout = Utils.isUnd(bLogout) ? false : !!bLogout;
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,7 @@ AdminApp.prototype.bootstart = function ()
|
||||||
|
|
||||||
kn.hideLoading();
|
kn.hideLoading();
|
||||||
|
|
||||||
if (!this.settingsGet('AllowAdminPanel'))
|
if (!RL.settingsGet('AllowAdminPanel'))
|
||||||
{
|
{
|
||||||
kn.routeOff();
|
kn.routeOff();
|
||||||
kn.setHash(RL.link().root(), true);
|
kn.setHash(RL.link().root(), true);
|
||||||
|
|
@ -212,10 +212,10 @@ AdminApp.prototype.bootstart = function ()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!!this.settingsGet('Auth'))
|
if (!!RL.settingsGet('Auth'))
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
// if (!this.settingsGet('AllowPackages') && AdminPackages)
|
// if (!RL.settingsGet('AllowPackages') && AdminPackages)
|
||||||
// {
|
// {
|
||||||
// Utils.disableSettingsViewModel(AdminPackages);
|
// Utils.disableSettingsViewModel(AdminPackages);
|
||||||
// }
|
// }
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ function RainLoopApp()
|
||||||
|
|
||||||
$.wakeUp(function (iSleepTime) {
|
$.wakeUp(function (iSleepTime) {
|
||||||
RL.remote().jsInfo(Utils.emptyFunction, {
|
RL.remote().jsInfo(Utils.emptyFunction, {
|
||||||
'Version': this.settingsGet('Version'),
|
'Version': RL.settingsGet('Version'),
|
||||||
'WakeUpTime': Math.round(iSleepTime / 1000)
|
'WakeUpTime': Math.round(iSleepTime / 1000)
|
||||||
}, true);
|
}, true);
|
||||||
}, {}, 60 * 60 * 1000);
|
}, {}, 60 * 60 * 1000);
|
||||||
|
|
@ -564,23 +564,23 @@ RainLoopApp.prototype.bootstart = function ()
|
||||||
|
|
||||||
var
|
var
|
||||||
sCustomLoginLink = '',
|
sCustomLoginLink = '',
|
||||||
sJsHash = this.settingsGet('JsHash'),
|
sJsHash = RL.settingsGet('JsHash'),
|
||||||
bGoogle = this.settingsGet('AllowGoogleSocial'),
|
bGoogle = RL.settingsGet('AllowGoogleSocial'),
|
||||||
bFacebook = this.settingsGet('AllowFacebookSocial'),
|
bFacebook = RL.settingsGet('AllowFacebookSocial'),
|
||||||
bTwitter = this.settingsGet('AllowTwitterSocial')
|
bTwitter = RL.settingsGet('AllowTwitterSocial')
|
||||||
;
|
;
|
||||||
|
|
||||||
if (!this.settingsGet('AllowChangePassword'))
|
if (!RL.settingsGet('AllowChangePassword'))
|
||||||
{
|
{
|
||||||
Utils.removeSettingsViewModel(SettingsChangePasswordScreen);
|
Utils.removeSettingsViewModel(SettingsChangePasswordScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.settingsGet('AllowAdditionalAccounts'))
|
if (!RL.settingsGet('AllowAdditionalAccounts'))
|
||||||
{
|
{
|
||||||
Utils.removeSettingsViewModel(SettingsAccounts);
|
Utils.removeSettingsViewModel(SettingsAccounts);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.settingsGet('AllowIdentities'))
|
if (RL.settingsGet('AllowIdentities'))
|
||||||
{
|
{
|
||||||
Utils.removeSettingsViewModel(SettingsIdentity);
|
Utils.removeSettingsViewModel(SettingsIdentity);
|
||||||
}
|
}
|
||||||
|
|
@ -594,7 +594,7 @@ RainLoopApp.prototype.bootstart = function ()
|
||||||
Utils.removeSettingsViewModel(SettingsSocialScreen);
|
Utils.removeSettingsViewModel(SettingsSocialScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.settingsGet('AllowThemes'))
|
if (!RL.settingsGet('AllowThemes'))
|
||||||
{
|
{
|
||||||
Utils.removeSettingsViewModel(SettingsThemes);
|
Utils.removeSettingsViewModel(SettingsThemes);
|
||||||
}
|
}
|
||||||
|
|
@ -625,7 +625,7 @@ RainLoopApp.prototype.bootstart = function ()
|
||||||
window.SimplePace.sleep();
|
window.SimplePace.sleep();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!!this.settingsGet('Auth'))
|
if (!!RL.settingsGet('Auth'))
|
||||||
{
|
{
|
||||||
this.setTitle(Utils.i18n('TITLES/LOADING'));
|
this.setTitle(Utils.i18n('TITLES/LOADING'));
|
||||||
|
|
||||||
|
|
@ -699,7 +699,7 @@ RainLoopApp.prototype.bootstart = function ()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sCustomLoginLink = Utils.pString(this.settingsGet('CustomLoginLink'));
|
sCustomLoginLink = Utils.pString(RL.settingsGet('CustomLoginLink'));
|
||||||
if (!sCustomLoginLink)
|
if (!sCustomLoginLink)
|
||||||
{
|
{
|
||||||
kn.hideLoading();
|
kn.hideLoading();
|
||||||
|
|
|
||||||
|
|
@ -8,16 +8,16 @@ $window.unload(function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
// export
|
// export
|
||||||
window.rl = window.rl || {};
|
window['rl'] = window['rl'] || {};
|
||||||
window.rl.addHook = Plugins.addHook;
|
window['rl']['addHook'] = Plugins.addHook;
|
||||||
window.rl.settingsGet = Plugins.mainSettingsGet;
|
window['rl']['settingsGet'] = Plugins.mainSettingsGet;
|
||||||
window.rl.remoteRequest = Plugins.remoteRequest;
|
window['rl']['remoteRequest'] = Plugins.remoteRequest;
|
||||||
window.rl.pluginSettingsGet = Plugins.settingsGet;
|
window['rl']['pluginSettingsGet'] = Plugins.settingsGet;
|
||||||
window.rl.addSettingsViewModel = Utils.addSettingsViewModel;
|
window['rl']['addSettingsViewModel'] = Utils.addSettingsViewModel;
|
||||||
window.rl.createCommand = Utils.createCommand;
|
window['rl']['createCommand'] = Utils.createCommand;
|
||||||
|
|
||||||
window.rl.EmailModel = EmailModel;
|
window['rl']['EmailModel'] = EmailModel;
|
||||||
window.rl.Enums = Enums;
|
window['rl']['Enums'] = Enums;
|
||||||
|
|
||||||
window['__RLBOOT'] = function (fCall) {
|
window['__RLBOOT'] = function (fCall) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "RainLoop",
|
"name": "RainLoop",
|
||||||
"title": "RainLoop Webmail",
|
"title": "RainLoop Webmail",
|
||||||
"version": "1.4.1",
|
"version": "1.4.1",
|
||||||
"release": "513",
|
"release": "516",
|
||||||
"description": "Simple, modern & fast web-based email client",
|
"description": "Simple, modern & fast web-based email client",
|
||||||
"homepage": "http://rainloop.net",
|
"homepage": "http://rainloop.net",
|
||||||
"main": "Gruntfile.js",
|
"main": "Gruntfile.js",
|
||||||
|
|
|
||||||
|
|
@ -5183,7 +5183,7 @@ class Actions
|
||||||
private function setupInformation()
|
private function setupInformation()
|
||||||
{
|
{
|
||||||
$aResult = array(
|
$aResult = array(
|
||||||
'hash' => \file_exists(APP_DATA_FOLDER_PATH.'HASH') ? @\file_get_contents(APP_DATA_FOLDER_PATH.'HASH') : '',
|
'hash' => \file_exists(APP_DATA_FOLDER_PATH.'HASH') ? \md5(@\file_get_contents(APP_DATA_FOLDER_PATH.'HASH')) : '',
|
||||||
'version-full' => APP_VERSION,
|
'version-full' => APP_VERSION,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -143,12 +143,18 @@ class Service
|
||||||
|
|
||||||
$aData = $this->startUpData($bAdmin);
|
$aData = $this->startUpData($bAdmin);
|
||||||
|
|
||||||
|
$sAppHash = '';
|
||||||
|
if (\file_exists(APP_DATA_FOLDER_PATH.'HASH'))
|
||||||
|
{
|
||||||
|
$sAppHash = md5(@\file_get_contents(APP_DATA_FOLDER_PATH.'HASH'));
|
||||||
|
}
|
||||||
|
|
||||||
$bCacheEnabled = $this->oActions->Config()->Get('labs', 'cache_system_data', true);
|
$bCacheEnabled = $this->oActions->Config()->Get('labs', 'cache_system_data', true);
|
||||||
|
|
||||||
$sCacheFileName = '';
|
$sCacheFileName = '';
|
||||||
if ($bCacheEnabled)
|
if ($bCacheEnabled)
|
||||||
{
|
{
|
||||||
$sCacheFileName = 'TMPL:'.$aData['Hash'];
|
$sCacheFileName = 'TMPL:'.$aData['Hash'].'/'.$sAppHash;
|
||||||
$sResult = $this->oActions->Cacher()->Get($sCacheFileName);
|
$sResult = $this->oActions->Cacher()->Get($sCacheFileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -178,12 +184,6 @@ class Service
|
||||||
$bCached = true;
|
$bCached = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$sAppHash = '';
|
|
||||||
if (\file_exists(APP_DATA_FOLDER_PATH.'HASH'))
|
|
||||||
{
|
|
||||||
$sAppHash = @\file_get_contents(APP_DATA_FOLDER_PATH.'HASH');
|
|
||||||
}
|
|
||||||
|
|
||||||
$sResult .= '<!--';
|
$sResult .= '<!--';
|
||||||
$sResult .= ' [version:'.APP_VERSION;
|
$sResult .= ' [version:'.APP_VERSION;
|
||||||
$sResult .= '][time:'.substr(\microtime(true) - APP_START, 0, 6);
|
$sResult .= '][time:'.substr(\microtime(true) - APP_START, 0, 6);
|
||||||
|
|
|
||||||
|
|
@ -4787,20 +4787,6 @@ function AdminGeneral()
|
||||||
return Utils.convertLangName(this.mainLanguage());
|
return Utils.convertLangName(this.mainLanguage());
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
this.languagesOptions = ko.computed(function () {
|
|
||||||
return _.map(oData.languages(), function (sLanguage) {
|
|
||||||
var
|
|
||||||
sName = Utils.convertLangName(sLanguage),
|
|
||||||
sEn = Utils.convertLangName(sLanguage, true)
|
|
||||||
;
|
|
||||||
|
|
||||||
return {
|
|
||||||
'optValue': sLanguage,
|
|
||||||
'optText': sName + (sEn !== sName ? ' (' + sEn + ')' : '')
|
|
||||||
};
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
this.contactsSupported = RL.settingsGet('ContactsIsSupported');
|
this.contactsSupported = RL.settingsGet('ContactsIsSupported');
|
||||||
this.contactsIsAllowed = RL.settingsGet('ContactsIsAllowed');
|
this.contactsIsAllowed = RL.settingsGet('ContactsIsAllowed');
|
||||||
this.weakPassword = !!RL.settingsGet('WeakPassword');
|
this.weakPassword = !!RL.settingsGet('WeakPassword');
|
||||||
|
|
@ -6498,15 +6484,12 @@ AbstractApp.prototype.settingsSet = function (sName, mValue)
|
||||||
AbstractApp.prototype.setTitle = function (sTitle)
|
AbstractApp.prototype.setTitle = function (sTitle)
|
||||||
{
|
{
|
||||||
sTitle = ((0 < sTitle.length) ? sTitle + ' - ' : '') +
|
sTitle = ((0 < sTitle.length) ? sTitle + ' - ' : '') +
|
||||||
this.settingsGet('Title') || '';
|
RL.settingsGet('Title') || '';
|
||||||
|
|
||||||
if (sTitle !== window.document.title)
|
window.document.title = sTitle;
|
||||||
{
|
_.delay(function () {
|
||||||
window.document.title = sTitle;
|
window.document.title = sTitle;
|
||||||
_.delay(function () {
|
}, 5);
|
||||||
window.document.title = sTitle;
|
|
||||||
}, 5);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -6516,8 +6499,8 @@ AbstractApp.prototype.setTitle = function (sTitle)
|
||||||
AbstractApp.prototype.loginAndLogoutReload = function (bLogout, bClose)
|
AbstractApp.prototype.loginAndLogoutReload = function (bLogout, bClose)
|
||||||
{
|
{
|
||||||
var
|
var
|
||||||
sCustomLogoutLink = Utils.pString(this.settingsGet('CustomLogoutLink')),
|
sCustomLogoutLink = Utils.pString(RL.settingsGet('CustomLogoutLink')),
|
||||||
bInIframe = !!this.settingsGet('InIframe')
|
bInIframe = !!RL.settingsGet('InIframe')
|
||||||
;
|
;
|
||||||
|
|
||||||
bLogout = Utils.isUnd(bLogout) ? false : !!bLogout;
|
bLogout = Utils.isUnd(bLogout) ? false : !!bLogout;
|
||||||
|
|
@ -6781,7 +6764,7 @@ AdminApp.prototype.bootstart = function ()
|
||||||
|
|
||||||
kn.hideLoading();
|
kn.hideLoading();
|
||||||
|
|
||||||
if (!this.settingsGet('AllowAdminPanel'))
|
if (!RL.settingsGet('AllowAdminPanel'))
|
||||||
{
|
{
|
||||||
kn.routeOff();
|
kn.routeOff();
|
||||||
kn.setHash(RL.link().root(), true);
|
kn.setHash(RL.link().root(), true);
|
||||||
|
|
@ -6793,10 +6776,10 @@ AdminApp.prototype.bootstart = function ()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!!this.settingsGet('Auth'))
|
if (!!RL.settingsGet('Auth'))
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
// if (!this.settingsGet('AllowPackages') && AdminPackages)
|
// if (!RL.settingsGet('AllowPackages') && AdminPackages)
|
||||||
// {
|
// {
|
||||||
// Utils.disableSettingsViewModel(AdminPackages);
|
// Utils.disableSettingsViewModel(AdminPackages);
|
||||||
// }
|
// }
|
||||||
|
|
@ -6836,16 +6819,16 @@ $window.unload(function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
// export
|
// export
|
||||||
window.rl = window.rl || {};
|
window['rl'] = window['rl'] || {};
|
||||||
window.rl.addHook = Plugins.addHook;
|
window['rl']['addHook'] = Plugins.addHook;
|
||||||
window.rl.settingsGet = Plugins.mainSettingsGet;
|
window['rl']['settingsGet'] = Plugins.mainSettingsGet;
|
||||||
window.rl.remoteRequest = Plugins.remoteRequest;
|
window['rl']['remoteRequest'] = Plugins.remoteRequest;
|
||||||
window.rl.pluginSettingsGet = Plugins.settingsGet;
|
window['rl']['pluginSettingsGet'] = Plugins.settingsGet;
|
||||||
window.rl.addSettingsViewModel = Utils.addSettingsViewModel;
|
window['rl']['addSettingsViewModel'] = Utils.addSettingsViewModel;
|
||||||
window.rl.createCommand = Utils.createCommand;
|
window['rl']['createCommand'] = Utils.createCommand;
|
||||||
|
|
||||||
window.rl.EmailModel = EmailModel;
|
window['rl']['EmailModel'] = EmailModel;
|
||||||
window.rl.Enums = Enums;
|
window['rl']['Enums'] = Enums;
|
||||||
|
|
||||||
window['__RLBOOT'] = function (fCall) {
|
window['__RLBOOT'] = function (fCall) {
|
||||||
|
|
||||||
|
|
|
||||||
6
rainloop/v/0.0.0/static/js/admin.min.js
vendored
6
rainloop/v/0.0.0/static/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -15158,15 +15158,12 @@ AbstractApp.prototype.settingsSet = function (sName, mValue)
|
||||||
AbstractApp.prototype.setTitle = function (sTitle)
|
AbstractApp.prototype.setTitle = function (sTitle)
|
||||||
{
|
{
|
||||||
sTitle = ((0 < sTitle.length) ? sTitle + ' - ' : '') +
|
sTitle = ((0 < sTitle.length) ? sTitle + ' - ' : '') +
|
||||||
this.settingsGet('Title') || '';
|
RL.settingsGet('Title') || '';
|
||||||
|
|
||||||
if (sTitle !== window.document.title)
|
window.document.title = sTitle;
|
||||||
{
|
_.delay(function () {
|
||||||
window.document.title = sTitle;
|
window.document.title = sTitle;
|
||||||
_.delay(function () {
|
}, 5);
|
||||||
window.document.title = sTitle;
|
|
||||||
}, 5);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -15176,8 +15173,8 @@ AbstractApp.prototype.setTitle = function (sTitle)
|
||||||
AbstractApp.prototype.loginAndLogoutReload = function (bLogout, bClose)
|
AbstractApp.prototype.loginAndLogoutReload = function (bLogout, bClose)
|
||||||
{
|
{
|
||||||
var
|
var
|
||||||
sCustomLogoutLink = Utils.pString(this.settingsGet('CustomLogoutLink')),
|
sCustomLogoutLink = Utils.pString(RL.settingsGet('CustomLogoutLink')),
|
||||||
bInIframe = !!this.settingsGet('InIframe')
|
bInIframe = !!RL.settingsGet('InIframe')
|
||||||
;
|
;
|
||||||
|
|
||||||
bLogout = Utils.isUnd(bLogout) ? false : !!bLogout;
|
bLogout = Utils.isUnd(bLogout) ? false : !!bLogout;
|
||||||
|
|
@ -15260,7 +15257,7 @@ function RainLoopApp()
|
||||||
|
|
||||||
$.wakeUp(function (iSleepTime) {
|
$.wakeUp(function (iSleepTime) {
|
||||||
RL.remote().jsInfo(Utils.emptyFunction, {
|
RL.remote().jsInfo(Utils.emptyFunction, {
|
||||||
'Version': this.settingsGet('Version'),
|
'Version': RL.settingsGet('Version'),
|
||||||
'WakeUpTime': Math.round(iSleepTime / 1000)
|
'WakeUpTime': Math.round(iSleepTime / 1000)
|
||||||
}, true);
|
}, true);
|
||||||
}, {}, 60 * 60 * 1000);
|
}, {}, 60 * 60 * 1000);
|
||||||
|
|
@ -15805,23 +15802,23 @@ RainLoopApp.prototype.bootstart = function ()
|
||||||
|
|
||||||
var
|
var
|
||||||
sCustomLoginLink = '',
|
sCustomLoginLink = '',
|
||||||
sJsHash = this.settingsGet('JsHash'),
|
sJsHash = RL.settingsGet('JsHash'),
|
||||||
bGoogle = this.settingsGet('AllowGoogleSocial'),
|
bGoogle = RL.settingsGet('AllowGoogleSocial'),
|
||||||
bFacebook = this.settingsGet('AllowFacebookSocial'),
|
bFacebook = RL.settingsGet('AllowFacebookSocial'),
|
||||||
bTwitter = this.settingsGet('AllowTwitterSocial')
|
bTwitter = RL.settingsGet('AllowTwitterSocial')
|
||||||
;
|
;
|
||||||
|
|
||||||
if (!this.settingsGet('AllowChangePassword'))
|
if (!RL.settingsGet('AllowChangePassword'))
|
||||||
{
|
{
|
||||||
Utils.removeSettingsViewModel(SettingsChangePasswordScreen);
|
Utils.removeSettingsViewModel(SettingsChangePasswordScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.settingsGet('AllowAdditionalAccounts'))
|
if (!RL.settingsGet('AllowAdditionalAccounts'))
|
||||||
{
|
{
|
||||||
Utils.removeSettingsViewModel(SettingsAccounts);
|
Utils.removeSettingsViewModel(SettingsAccounts);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.settingsGet('AllowIdentities'))
|
if (RL.settingsGet('AllowIdentities'))
|
||||||
{
|
{
|
||||||
Utils.removeSettingsViewModel(SettingsIdentity);
|
Utils.removeSettingsViewModel(SettingsIdentity);
|
||||||
}
|
}
|
||||||
|
|
@ -15835,7 +15832,7 @@ RainLoopApp.prototype.bootstart = function ()
|
||||||
Utils.removeSettingsViewModel(SettingsSocialScreen);
|
Utils.removeSettingsViewModel(SettingsSocialScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.settingsGet('AllowThemes'))
|
if (!RL.settingsGet('AllowThemes'))
|
||||||
{
|
{
|
||||||
Utils.removeSettingsViewModel(SettingsThemes);
|
Utils.removeSettingsViewModel(SettingsThemes);
|
||||||
}
|
}
|
||||||
|
|
@ -15866,7 +15863,7 @@ RainLoopApp.prototype.bootstart = function ()
|
||||||
window.SimplePace.sleep();
|
window.SimplePace.sleep();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!!this.settingsGet('Auth'))
|
if (!!RL.settingsGet('Auth'))
|
||||||
{
|
{
|
||||||
this.setTitle(Utils.i18n('TITLES/LOADING'));
|
this.setTitle(Utils.i18n('TITLES/LOADING'));
|
||||||
|
|
||||||
|
|
@ -15940,7 +15937,7 @@ RainLoopApp.prototype.bootstart = function ()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sCustomLoginLink = Utils.pString(this.settingsGet('CustomLoginLink'));
|
sCustomLoginLink = Utils.pString(RL.settingsGet('CustomLoginLink'));
|
||||||
if (!sCustomLoginLink)
|
if (!sCustomLoginLink)
|
||||||
{
|
{
|
||||||
kn.hideLoading();
|
kn.hideLoading();
|
||||||
|
|
@ -16005,16 +16002,16 @@ $window.unload(function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
// export
|
// export
|
||||||
window.rl = window.rl || {};
|
window['rl'] = window['rl'] || {};
|
||||||
window.rl.addHook = Plugins.addHook;
|
window['rl']['addHook'] = Plugins.addHook;
|
||||||
window.rl.settingsGet = Plugins.mainSettingsGet;
|
window['rl']['settingsGet'] = Plugins.mainSettingsGet;
|
||||||
window.rl.remoteRequest = Plugins.remoteRequest;
|
window['rl']['remoteRequest'] = Plugins.remoteRequest;
|
||||||
window.rl.pluginSettingsGet = Plugins.settingsGet;
|
window['rl']['pluginSettingsGet'] = Plugins.settingsGet;
|
||||||
window.rl.addSettingsViewModel = Utils.addSettingsViewModel;
|
window['rl']['addSettingsViewModel'] = Utils.addSettingsViewModel;
|
||||||
window.rl.createCommand = Utils.createCommand;
|
window['rl']['createCommand'] = Utils.createCommand;
|
||||||
|
|
||||||
window.rl.EmailModel = EmailModel;
|
window['rl']['EmailModel'] = EmailModel;
|
||||||
window.rl.Enums = Enums;
|
window['rl']['Enums'] = Enums;
|
||||||
|
|
||||||
window['__RLBOOT'] = function (fCall) {
|
window['__RLBOOT'] = function (fCall) {
|
||||||
|
|
||||||
|
|
|
||||||
4
rainloop/v/0.0.0/static/js/app.min.js
vendored
4
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue