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() {
|
render: function() {
|
||||||
$(this.el).html(this.template.text);
|
$(this.el).html(this.template.text);
|
||||||
|
$.gritter.removeAll();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ var dashboardView = Backbone.View.extend({
|
||||||
template: new EJS({url: '/_admin/html/js/templates/dashboardView.ejs'}),
|
template: new EJS({url: '/_admin/html/js/templates/dashboardView.ejs'}),
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
$.gritter.removeAll();
|
||||||
$(this.el).html(this.template.text);
|
$(this.el).html(this.template.text);
|
||||||
this.updateCollectionsStats();
|
this.updateCollectionsStats();
|
||||||
this.renderCollections();
|
this.renderCollections();
|
||||||
|
|
|
@ -255,6 +255,7 @@ var documentsView = Backbone.View.extend({
|
||||||
if (this.collectionContext.next === null) {
|
if (this.collectionContext.next === null) {
|
||||||
$('#collectionNext').parent().addClass('disabledPag');
|
$('#collectionNext').parent().addClass('disabledPag');
|
||||||
}
|
}
|
||||||
|
$.gritter.removeAll();
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
|
@ -134,6 +134,7 @@ var logsView = Backbone.View.extend({
|
||||||
},
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
$(this.el).html(this.template.text);
|
$(this.el).html(this.template.text);
|
||||||
|
$.gritter.removeAll();
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
renderPagination: function (totalPages, currentPage) {
|
renderPagination: function (totalPages, currentPage) {
|
||||||
|
|
|
@ -47,6 +47,7 @@ var queryView = Backbone.View.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#aqlEditor .ace_text-input').focus();
|
$('#aqlEditor .ace_text-input').focus();
|
||||||
|
$.gritter.removeAll();
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
submitQuery: function() {
|
submitQuery: function() {
|
||||||
|
|
|
@ -16,6 +16,7 @@ var shellView = Backbone.View.extend({
|
||||||
});
|
});
|
||||||
$("#shell_workspace").trigger("resize", [ 200 ]);
|
$("#shell_workspace").trigger("resize", [ 200 ]);
|
||||||
$('.vsplitbar').append('<div id="editor-run"><img src="img/right_icon.png"></img></div>');
|
$('.vsplitbar').append('<div id="editor-run"><img src="img/right_icon.png"></img></div>');
|
||||||
|
$.gritter.removeAll();
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
renderEditor: function () {
|
renderEditor: function () {
|
||||||
|
|
Loading…
Reference in New Issue