Browse Source

doc info

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

+ 7
- 0
www/js/autodoc.js View File

pageNum = 0; pageNum = 0;
} }


$('.autodoc_home_modal_page').html(pageNum+1);
$('#autodoc_home_modal').data('pageNum', pageNum); $('#autodoc_home_modal').data('pageNum', pageNum);


$('#autodoc_home_modal_img').attr('src', $('#autodoc_home_modal_img').attr('src',
break; break;
} }
} }
$('.autodoc_home_modal_name').html(data.name ? data.name : 'n/a');
$('.autodoc_home_modal_created').html(data.created);
$('.autodoc_home_modal_languages').html(data.languages.join(' '));
$('.autodoc_home_modal_pages').html(data.pages.length);
$('.autodoc_home_modal_owner').html(data.owner); $('.autodoc_home_modal_owner').html(data.owner);

home_modal_page(pageNum); home_modal_page(pageNum);

$('#autodoc_home_modal').modal('show'); $('#autodoc_home_modal').modal('show');
}); });
} }

Loading…
Cancel
Save