1
0
Fork 0

Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

This commit is contained in:
Jan Steemann 2014-01-28 14:34:12 +01:00
commit fe7f89a8f1
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();