Pascal Gloor pirms 5 gadiem
vecāks
revīzija
7c8d7bd061
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      www/js/autodoc.js

+ 2
- 2
www/js/autodoc.js Parādīt failu

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

$.getJSON(
conf.openapi + "/documents?pageSize=" + conf.home.width + "&pageIndex=" + page + "&maxWidth=" + Math.floor(1000/conf.home.width),
conf.openapi + "/documents?pageSize=" + conf.home.width + "&pageIndex=" + page,
null,
function (data, textStatus, jqXHR) {
$.each(data, function (id, doc) {
var col = $(tmpl)
.find(".autodoc_template_home_col")
.clone();
$(col).find(".autodoc_template_home_img").attr('src', conf.openapi + '/documents/' + doc.id + '/image');
$(col).find(".autodoc_template_home_img").attr('src', conf.openapi + '/documents/' + doc.id + '/image?maxWidth=' + Math.floor(conf.home.width/conf.home.width));

$(col)
.find(".autodoc_template_home_owner")

Notiek ielāde…
Atcelt
Saglabāt