Commit fbdea553 authored by Romain Casati's avatar Romain Casati
Browse files

Fix: loading error should be notified so connecting earlier.

parent f316bae2
......@@ -22,6 +22,9 @@ window.basthonGUI = (function () {
that.dialog = that.notebook.dialog;
// keeping back events from notebook.
that.events = that.notebook.events;
/* all errors redirected to notification system */
that.connectGlobalErrors();
/*
loading content from query string or from local storage.
......@@ -41,9 +44,6 @@ window.basthonGUI = (function () {
'output_appended.OutputArea'] ) {
that.events.bind(event, () => { that.saveToStorage(); } );
}
/* all errors redirected to notification system */
that.connectGlobalErrors();
};
/**
......
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