mirror of https://gitee.com/bigwinds/arangodb
documentsview bugfix
This commit is contained in:
parent
21e4554128
commit
132e758c66
|
@ -803,6 +803,7 @@
|
||||||
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;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -811,6 +812,10 @@
|
||||||
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 () {
|
||||||
this.renderPagination();
|
this.renderPagination();
|
||||||
var total = $('#totalDocuments');
|
var total = $('#totalDocuments');
|
||||||
|
|
Loading…
Reference in New Issue