|
|
@@ -246,6 +246,8 @@ function page_load_document(args) { |
|
|
|
|
|
|
|
if (!docid) { return false; } |
|
|
|
|
|
|
|
$('.autodoc_tab_document').data('docid', docid); |
|
|
|
|
|
|
|
$('.autodoc_document_empty').addClass('d-none'); |
|
|
|
$('.autodoc_document_body').removeClass('d-none'); |
|
|
|
|
|
|
@@ -253,8 +255,8 @@ function page_load_document(args) { |
|
|
|
$.getJSON( |
|
|
|
conf.openapi + "/documents/" + docid, |
|
|
|
function (doc) { |
|
|
|
$('.autodoc_document_name.span').html(doc.name); |
|
|
|
$('.autodoc_document_name.input').val(doc.name); |
|
|
|
$('span.autodoc_document_name').html(doc.name); |
|
|
|
$('input.autodoc_document_name').val(doc.name); |
|
|
|
|
|
|
|
$('.autodoc_document_created').html(doc.created); |
|
|
|
$('.autodoc_document_languages').html(doc.languages.join(',')); |