Ability to log in from the main page

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

No files matched your search

+5
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;