Added csscomb

Small fixes
This commit is contained in:
RainLoop Team 2014-08-29 19:30:52 +04:00
parent 39255ae061
commit 8013c0dc25
16 changed files with 5232 additions and 4474 deletions

View file

@ -1196,7 +1196,7 @@
*/
RainLoopApp.prototype.isFolderExpanded = function (sFullNameHash)
{
var aExpandedList = /** @type {Array|null} */ LocalStorage.get(Enums.ClientSideKeyName.ExpandedFolders);
var aExpandedList = LocalStorage.get(Enums.ClientSideKeyName.ExpandedFolders);
return _.isArray(aExpandedList) && -1 !== _.indexOf(aExpandedList, sFullNameHash);
};
@ -1206,7 +1206,7 @@
*/
RainLoopApp.prototype.setExpandedFolder = function (sFullNameHash, bExpanded)
{
var aExpandedList = /** @type {Array|null} */ LocalStorage.get(Enums.ClientSideKeyName.ExpandedFolders);
var aExpandedList = LocalStorage.get(Enums.ClientSideKeyName.ExpandedFolders);
if (!_.isArray(aExpandedList))
{
aExpandedList = [];

View file

@ -312,7 +312,7 @@
'None': 'None',
'Move': 'Move',
'Discard': 'Discard',
'Forward': 'Forward',
'Forward': 'Forward'
};
/**

View file

@ -5,21 +5,27 @@
'use strict';
var
ko = require('ko')
ko = require('ko'),
Utils = require('Utils')
;
/**
* @constructor
*
* @param {string} sEmail
* @param {boolean=} bCanBeDelete = true
* @constructor
*/
function AccountModel(sEmail, bCanBeDelete)
{
this.email = sEmail;
this.deleteAccess = ko.observable(false);
this.canBeDalete = ko.observable(bCanBeDelete);
this.canBeDalete = ko.observable(Utils.isUnd(bCanBeDelete) ? true : !!bCanBeDelete);
}
/**
* @type {string}
*/
AccountModel.prototype.email = '';
/**

View file

@ -16,7 +16,7 @@
*/
function FilterModel()
{
this.new = ko.observable(true);
this.isNew = ko.observable(true);
this.enabled = ko.observable(true);
this.name = ko.observable('');