mirror of https://gitee.com/bigwinds/arangodb
now notifications are beeing removed when tabbing through menues
This commit is contained in:
parent
e71663e415
commit
fa3e73f8f3
|
@ -7,6 +7,7 @@ var aboutView = Backbone.View.extend({
|
|||
|
||||
render: function() {
|
||||
$(this.el).html(this.template.text);
|
||||
$.gritter.removeAll();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -255,6 +255,7 @@ var documentsView = Backbone.View.extend({
|
|||
if (this.collectionContext.next === null) {
|
||||
$('#collectionNext').parent().addClass('disabledPag');
|
||||
}
|
||||
$.gritter.removeAll();
|
||||
|
||||
return this;
|
||||
},
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -47,6 +47,7 @@ var queryView = Backbone.View.extend({
|
|||
});
|
||||
|
||||
$('#aqlEditor .ace_text-input').focus();
|
||||
$.gritter.removeAll();
|
||||
return this;
|
||||
},
|
||||
submitQuery: function() {
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue