| @@ -97,7 +97,7 @@ $(document).ready(function () { | |||
| type: "PATCH", | |||
| url: conf.openapi + "/documents/" + docid + "?primarypage=" + pageid, | |||
| success: function () { | |||
| $('autodoc_document_btn_primary').removeClass('disabled'); | |||
| $('.autodoc_document_btn_primary').removeClass('disabled'); | |||
| } | |||
| }); | |||
| @@ -264,7 +264,6 @@ function page_load_document(args) { | |||
| if (!docid) { return false; } | |||
| $('#autodoc_tab_document').data('docid', docid); | |||
| console.log($('#autodoc_tab_document').data()); | |||
| $('.autodoc_document_empty').addClass('d-none'); | |||
| $('.autodoc_document_body').removeClass('d-none'); | |||