mirror of https://gitee.com/bigwinds/arangodb
documentsview bugfix
This commit is contained in:
parent
21e4554128
commit
132e758c66
|
@ -803,12 +803,17 @@
|
||||||
arangoHelper.fixTooltips(".icon_arangodb, .arangoicon", "top");
|
arangoHelper.fixTooltips(".icon_arangodb, .arangoicon", "top");
|
||||||
this.drawTable();
|
this.drawTable();
|
||||||
this.renderPaginationElements();
|
this.renderPaginationElements();
|
||||||
|
this.selectActivePagesize();
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
rerender : function () {
|
rerender : function () {
|
||||||
this.clearTable();
|
this.clearTable();
|
||||||
this.collection.getDocuments(this.getDocsCallback.bind(this));
|
this.collection.getDocuments(this.getDocsCallback.bind(this));
|
||||||
|
},
|
||||||
|
|
||||||
|
selectActivePagesize: function() {
|
||||||
|
$('#documentSize').val(this.collection.getPageSize());
|
||||||
},
|
},
|
||||||
|
|
||||||
renderPaginationElements: function () {
|
renderPaginationElements: function () {
|
||||||
|
|
Loading…
Reference in New Issue