Many fixes

New ownCloud package with a built-in webmail
This commit is contained in:
RainLoop Team 2015-02-12 01:39:27 +04:00
parent 323dd34c8b
commit 6116597f6f
56 changed files with 1137 additions and 232 deletions

View file

@ -25,6 +25,7 @@
this.userBackground = ko.observable(false);
this.openPGP = ko.observable(false);
this.twoFactorAuth = ko.observable(false);
this.templates = ko.observable(false);
}
CapaAdminStore.prototype.populate = function()
@ -38,6 +39,7 @@
this.userBackground(Settings.capa(Enums.Capa.UserBackground));
this.openPGP(Settings.capa(Enums.Capa.OpenPGP));
this.twoFactorAuth(Settings.capa(Enums.Capa.TwoFactor));
this.templates(Settings.capa(Enums.Capa.Templates));
};
module.exports = new CapaAdminStore();

View file

@ -5,9 +5,9 @@
var
_ = require('_'),
ko = require('ko'),
ko = require('ko')
Remote = require('Storage/User/Remote')
// Remote = require('Storage/User/Remote')
;
/**
@ -27,16 +27,16 @@
})));
}, this);
this.templatesNames.subscribe(function (aList) {
if (this.templatesNames.skipFirst)
{
this.templatesNames.skipFirst = false;
}
else if (aList && 1 < aList.length)
{
Remote.templatesSortOrder(null, aList);
}
}, this);
// this.templatesNames.subscribe(function (aList) {
// if (this.templatesNames.skipFirst)
// {
// this.templatesNames.skipFirst = false;
// }
// else if (aList && 1 < aList.length)
// {
// Remote.templatesSortOrder(null, aList);
// }
// }, this);
}
module.exports = new TemplateUserStore();