mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-06 23:07:56 +08:00
4cc2207513
Original unminified source code (dev folder - js, css, less) (fixes #6) Grunt build system Multiple identities correction (fixes #9) Compose html editor (fixes #12) New general settings - Loading Description New warning about default admin password Split general and login screen settings
36 lines
No EOL
1 KiB
JavaScript
36 lines
No EOL
1 KiB
JavaScript
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
|
|
|
/**
|
|
* @constructor
|
|
* @extends AbstractData
|
|
*/
|
|
function AdminDataStorage()
|
|
{
|
|
AbstractData.call(this);
|
|
|
|
this.domainsLoading = ko.observable(false).extend({'throttle': 100});
|
|
this.domains = ko.observableArray([]);
|
|
|
|
this.pluginsLoading = ko.observable(false).extend({'throttle': 100});
|
|
this.plugins = ko.observableArray([]);
|
|
|
|
this.packagesReal = ko.observable(true);
|
|
this.packagesMainUpdatable = ko.observable(true);
|
|
this.packagesLoading = ko.observable(false).extend({'throttle': 100});
|
|
this.packages = ko.observableArray([]);
|
|
|
|
this.licensing = ko.observable(false);
|
|
this.licensingProcess = ko.observable(false);
|
|
this.licenseValid = ko.observable(false);
|
|
this.licenseExpired = ko.observable(0);
|
|
this.licenseError = ko.observable('');
|
|
|
|
this.licenseTrigger = ko.observable(false);
|
|
}
|
|
|
|
_.extend(AdminDataStorage.prototype, AbstractData.prototype);
|
|
|
|
AdminDataStorage.prototype.populateDataOnStart = function()
|
|
{
|
|
AbstractData.prototype.populateDataOnStart.call(this);
|
|
}; |