|
|
|
|
|
|
|
|
openapi: "/v1", |
|
|
openapi: "/v1", |
|
|
pageinit: { |
|
|
pageinit: { |
|
|
home: "page_load_home()", |
|
|
home: "page_load_home()", |
|
|
|
|
|
document: "page_load_document()", |
|
|
upload: "page_load_upload()", |
|
|
upload: "page_load_upload()", |
|
|
tags: "page_load_tags()" |
|
|
tags: "page_load_tags()" |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
document_load(); |
|
|
document_load(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function page_load_document() { |
|
|
|
|
|
var docid = $('autodoc_tab_document').data('docid'); |
|
|
|
|
|
|
|
|
|
|
|
if ( docid ) { |
|
|
|
|
|
$('autodoc_document_empty').addClass('d-none'); |
|
|
|
|
|
$('autodoc_document_body').removeClass('d-none'); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
function page_load_upload() { |
|
|
function page_load_upload() { |
|
|
upload_status(); |
|
|
upload_status(); |
|
|
} |
|
|
} |