Browse Source

test

master
Pascal Gloor 5 years ago
parent
commit
a7ccee9c6d
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      www/js/autodoc.js

+ 4
- 1
www/js/autodoc.js View File

@@ -5,6 +5,9 @@ var conf = {
openapi: "/v1",
pageinit: {
home: "page_load_home()"
},
home: {
width: 4
}
};

@@ -65,7 +68,7 @@ function document_load(page) {
.clone();

$.getJSON(
conf.openapi + "/documents?pageSize=3&pageIndex=" + page,
conf.openapi + "/documents?pageSize=" + conf.home.width + "&pageIndex=" + page,
null,
function (data, textStatus, jqXHR) {
$.each(data, function (id, doc) {

Loading…
Cancel
Save