mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
CommonJS (research/3)
This commit is contained in:
parent
586abbb802
commit
06bb124379
99 changed files with 51037 additions and 42961 deletions
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
var
|
||||
ko = require('../External/ko.js'),
|
||||
Data = require('../Storages/AdminDataStorage.js')
|
||||
AppSettings = require('../Storages/AppSettings.js'),
|
||||
Data = require('../Storages/AdminDataStorage.js'),
|
||||
RL = require('../Boots/AdminApp.js')
|
||||
;
|
||||
|
||||
/**
|
||||
|
|
@ -14,8 +16,8 @@
|
|||
*/
|
||||
function AdminSettingsAbout()
|
||||
{
|
||||
this.version = ko.observable(RL.settingsGet('Version'));
|
||||
this.access = ko.observable(!!RL.settingsGet('CoreAccess'));
|
||||
this.version = ko.observable(AppSettings.settingsGet('Version'));
|
||||
this.access = ko.observable(!!AppSettings.settingsGet('CoreAccess'));
|
||||
this.errorDesc = ko.observable('');
|
||||
|
||||
this.coreReal = Data.coreReal;
|
||||
|
|
@ -64,8 +66,6 @@
|
|||
}, this);
|
||||
}
|
||||
|
||||
kn.addSettingsViewModel(AdminSettingsAbout, 'AdminSettingsAbout', 'About', 'about');
|
||||
|
||||
AdminSettingsAbout.prototype.onBuild = function ()
|
||||
{
|
||||
if (this.access())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue