1
0
Fork 0

Removed unnecessary information that server is connected on startup

This commit is contained in:
Michael Hackstein 2014-01-28 09:43:53 +01:00
parent 72ede60012
commit 983f616add
1 changed files with 8 additions and 3 deletions

View File

@ -7,6 +7,7 @@
el: '.footer',
system: {},
isOffline: true,
firstLogin: true,
initialize: function () {
//also server online check
@ -38,9 +39,13 @@
if (self.isOffline === true) {
self.isOffline = false;
arangoHelper.removeNotifications();
window.setTimeout(function(){
arangoHelper.arangoNotification("Server connected");
}, 1000);
if (!self.firstLogin) {
window.setTimeout(function(){
arangoHelper.arangoNotification("Server connected");
}, 1000);
} else {
self.firstLogin = false;
}
self.system.name = data.server;
self.system.version = data.version;
self.render();