Commit 0119350a authored by Mathieu Giraud's avatar Mathieu Giraud

js/main.js, js/database.js: console.log() for main init steps

parent 2e1c8618
......@@ -611,6 +611,7 @@ Database.prototype = {
xhrFields: {withCredentials: true},
success: function (result) {
self.display_result(result, "", args);
console.log('=== load_data: success ===');
},
error: function (request, status, error) {
if (status === "timeout") {
......@@ -691,6 +692,7 @@ Database.prototype = {
xhrFields: {withCredentials: true},
success: function (result) {
self.display_result(result)
console.log('=== load_analysis: success ===');
},
error: function (request, status, error) {
if (status === "timeout") {
......
......@@ -95,6 +95,8 @@ try {
this.db.error(err.stack);
}
console.log("=== main.js finished ===");
(function worker(){
db.loadNotifications();
setTimeout(worker, 300000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment