Explorar el Código

should work now

master
Pascal Gloor hace 5 años
padre
commit
a224f69618
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      www/js/autodoc.js

+ 3
- 2
www/js/autodoc.js Ver fichero

@@ -64,7 +64,7 @@ $(document).ready(function () {
});

$('input.autodoc_home_modal_name').change(function(e) {
console.log(e);
home_modal_open($('#autodoc_home_modal').data('documentid'));
});
});

@@ -454,7 +454,8 @@ function home_modal_page_next() {
function home_modal_open(docid) {
$.getJSON(conf.openapi + "/documents/" + docid, function (data) {
$('#autodoc_home_modal').data('document', data);
console.log(data);
$('#autodoc_home_modal').data('documentid', docid);

var pageNum;
for (var i = 0; i < data.pageId.length; i++) {
if (data.pageId[i] == data.primaryPage) {

Cargando…
Cancelar
Guardar