mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Code refactoring
This commit is contained in:
parent
345e7c58af
commit
8cf8b94d39
103 changed files with 664 additions and 659 deletions
|
|
@ -17,8 +17,8 @@
|
|||
Selector = require('Common/Selector'),
|
||||
Links = require('Common/Links'),
|
||||
|
||||
Data = require('Storage/App/Data'),
|
||||
Remote = require('Storage/App/Remote'),
|
||||
Data = require('Storage/User/Data'),
|
||||
Remote = require('Storage/User/Remote'),
|
||||
|
||||
EmailModel = require('Model/Email'),
|
||||
ContactModel = require('Model/Contact'),
|
||||
|
|
@ -333,7 +333,7 @@
|
|||
this.syncCommand = Utils.createCommand(this, function () {
|
||||
|
||||
var self = this;
|
||||
require('App/App').contactsSync(function (sResult, oData) {
|
||||
require('App/User').contactsSync(function (sResult, oData) {
|
||||
if (Enums.StorageResultType.Success !== sResult || !oData || !oData.Result)
|
||||
{
|
||||
window.alert(Utils.getNotification(
|
||||
|
|
@ -447,12 +447,12 @@
|
|||
|
||||
ContactsPopupView.prototype.exportVcf = function ()
|
||||
{
|
||||
require('App/App').download(Links.exportContactsVcf());
|
||||
require('App/User').download(Links.exportContactsVcf());
|
||||
};
|
||||
|
||||
ContactsPopupView.prototype.exportCsv = function ()
|
||||
{
|
||||
require('App/App').download(Links.exportContactsCsv());
|
||||
require('App/User').download(Links.exportContactsCsv());
|
||||
};
|
||||
|
||||
ContactsPopupView.prototype.initUploader = function ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue