diff --git a/frontend/js/views/aboutView.js b/frontend/js/views/aboutView.js index 04c04b125c..61cd8e31dc 100644 --- a/frontend/js/views/aboutView.js +++ b/frontend/js/views/aboutView.js @@ -7,6 +7,7 @@ var aboutView = Backbone.View.extend({ render: function() { $(this.el).html(this.template.text); + $.gritter.removeAll(); return this; } diff --git a/frontend/js/views/dashboardView.js b/frontend/js/views/dashboardView.js index 8380e074e5..7ba954eebd 100644 --- a/frontend/js/views/dashboardView.js +++ b/frontend/js/views/dashboardView.js @@ -16,6 +16,7 @@ var dashboardView = Backbone.View.extend({ template: new EJS({url: '/_admin/html/js/templates/dashboardView.ejs'}), render: function() { + $.gritter.removeAll(); $(this.el).html(this.template.text); this.updateCollectionsStats(); this.renderCollections(); diff --git a/frontend/js/views/documentsView.js b/frontend/js/views/documentsView.js index 713cee3a6a..f0538de07b 100644 --- a/frontend/js/views/documentsView.js +++ b/frontend/js/views/documentsView.js @@ -255,6 +255,7 @@ var documentsView = Backbone.View.extend({ if (this.collectionContext.next === null) { $('#collectionNext').parent().addClass('disabledPag'); } + $.gritter.removeAll(); return this; }, diff --git a/frontend/js/views/logsView.js b/frontend/js/views/logsView.js index 3b6db2c388..605f035e53 100644 --- a/frontend/js/views/logsView.js +++ b/frontend/js/views/logsView.js @@ -134,6 +134,7 @@ var logsView = Backbone.View.extend({ }, render: function() { $(this.el).html(this.template.text); + $.gritter.removeAll(); return this; }, renderPagination: function (totalPages, currentPage) { diff --git a/frontend/js/views/queryView.js b/frontend/js/views/queryView.js index cb772cf3ab..56f9db2c8f 100644 --- a/frontend/js/views/queryView.js +++ b/frontend/js/views/queryView.js @@ -47,6 +47,7 @@ var queryView = Backbone.View.extend({ }); $('#aqlEditor .ace_text-input').focus(); + $.gritter.removeAll(); return this; }, submitQuery: function() { diff --git a/frontend/js/views/shellView.js b/frontend/js/views/shellView.js index c8e91e0868..9eac0f2041 100644 --- a/frontend/js/views/shellView.js +++ b/frontend/js/views/shellView.js @@ -16,6 +16,7 @@ var shellView = Backbone.View.extend({ }); $("#shell_workspace").trigger("resize", [ 200 ]); $('.vsplitbar').append('
'); + $.gritter.removeAll(); return this; }, renderEditor: function () {