Ability to log in from the main page

This commit is contained in:
yflory
2017-01-17 11:52:44 +01:00
parent 6652e9d6d9
commit e006ed7076
18 changed files with 144 additions and 74 deletions

View File

@@ -101,6 +101,11 @@ define([
return hash;
};
var isLoggedIn = common.isLoggedIn = function () {
//return typeof getStore().getLoginName() === "string";
return typeof getUserHash() === "string";
};
// var isArray = function (o) { return Object.prototype.toString.call(o) === '[object Array]'; };
var isArray = common.isArray = $.isArray;