1
0
Fork 0

now notifications are beeing removed when tabbing through menues

This commit is contained in:
Heiko Kernbach 2013-03-14 11:50:11 +01:00
parent e71663e415
commit fa3e73f8f3
6 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@ var aboutView = Backbone.View.extend({
render: function() {
$(this.el).html(this.template.text);
$.gritter.removeAll();
return this;
}

View File

@ -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();

View File

@ -255,6 +255,7 @@ var documentsView = Backbone.View.extend({
if (this.collectionContext.next === null) {
$('#collectionNext').parent().addClass('disabledPag');
}
$.gritter.removeAll();
return this;
},

View File

@ -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) {

View File

@ -47,6 +47,7 @@ var queryView = Backbone.View.extend({
});
$('#aqlEditor .ace_text-input').focus();
$.gritter.removeAll();
return this;
},
submitQuery: function() {

View File

@ -16,6 +16,7 @@ var shellView = Backbone.View.extend({
});
$("#shell_workspace").trigger("resize", [ 200 ]);
$('.vsplitbar').append('<div id="editor-run"><img src="img/right_icon.png"></img></div>');
$.gritter.removeAll();
return this;
},
renderEditor: function () {