1
0
Fork 0

documentsview bugfix

This commit is contained in:
Heiko Kernbach 2014-08-20 13:54:48 +02:00
parent 21e4554128
commit 132e758c66
1 changed files with 7 additions and 2 deletions

View File

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