mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
Sound notification
Additional code refactoring
This commit is contained in:
parent
b42ce01e7e
commit
aa84077ac4
87 changed files with 1573 additions and 574 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
PopupsDomainViewModel = require('View/Popup/Domain'),
|
||||
|
||||
Data = require('Storage/Admin/Data'),
|
||||
DomainStore = require('Stores/Admin/Domain'),
|
||||
Remote = require('Storage/Admin/Remote')
|
||||
;
|
||||
|
||||
|
|
@ -21,12 +21,12 @@
|
|||
*/
|
||||
function DomainsAdminSettings()
|
||||
{
|
||||
this.domains = Data.domains;
|
||||
this.domains = DomainStore.collection;
|
||||
|
||||
this.iDomainForDeletionTimeout = 0;
|
||||
|
||||
this.visibility = ko.computed(function () {
|
||||
return Data.domains.loading() ? 'visible' : 'hidden';
|
||||
return this.domains.loading() ? 'visible' : 'hidden';
|
||||
}, this);
|
||||
|
||||
this.domainForDeletion = ko.observable(null).extend({'toggleSubscribe': [this,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue