Browse Source

typo

master
Pascal Gloor 5 years ago
parent
commit
ebfa414a02
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      www/js/autodoc.js

+ 1
- 2
www/js/autodoc.js View File

type: "PATCH", type: "PATCH",
url: conf.openapi + "/documents/" + docid + "?primarypage=" + pageid, url: conf.openapi + "/documents/" + docid + "?primarypage=" + pageid,
success: function () { success: function () {
$('autodoc_document_btn_primary').removeClass('disabled');
$('.autodoc_document_btn_primary').removeClass('disabled');
} }
}); });


if (!docid) { return false; } if (!docid) { return false; }


$('#autodoc_tab_document').data('docid', docid); $('#autodoc_tab_document').data('docid', docid);
console.log($('#autodoc_tab_document').data());


$('.autodoc_document_empty').addClass('d-none'); $('.autodoc_document_empty').addClass('d-none');
$('.autodoc_document_body').removeClass('d-none'); $('.autodoc_document_body').removeClass('d-none');

Loading…
Cancel
Save