X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/501966167ee4f2b8c4a493876a580bf26d13942a..c5b8f44c80d85f73d6eab626e0afc5ab61aa6d20:/project/static/js/models.js diff --git a/project/static/js/models.js b/project/static/js/models.js index b5b9c541..9938eb07 100644 --- a/project/static/js/models.js +++ b/project/static/js/models.js @@ -1,4 +1,4 @@ -/*globals Editor fileId SplitView PanelContainerView EditorView*/ +/*globals Editor fileId SplitView PanelContainerView EditorView FlashView messageCenter*/ var documentsUrl = '/api/documents/'; @@ -375,6 +375,7 @@ $(function() { doc = new Editor.DocumentModel(); var editor = new EditorView('#body-wrap', doc); editor.freeze(); + var flashView = new FlashView('#flashview', messageCenter); var splitView = new SplitView('#splitview', doc); leftPanelView = new PanelContainerView('#left-panel-container', doc); rightPanelContainer = new PanelContainerView('#right-panel-container', doc);