@@ -5,6 +5,7 @@ var conf = { | |||
openapi: "/v1", | |||
pageinit: { | |||
home: "page_load_home()", | |||
document: "page_load_document()", | |||
upload: "page_load_upload()", | |||
tags: "page_load_tags()" | |||
}, | |||
@@ -235,6 +236,15 @@ function page_load_home() { | |||
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() { | |||
upload_status(); | |||
} |