Browse Source

dev

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

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

@@ -172,7 +172,14 @@ function page_load_upload() {

function page_load_tags() {
// update tag list
$.getJSON(conf.openapi + "/tags", function(data) {
$.getJSON(conf.openapi + "/tags", function(tags) {
$.each(tags, function(n, tag) {
$('.autodoc_tag_list').append(
'<option data="' + tag.color + '" value="' + tag.id + '">' +
tag.name +
'</option>'
);
});
console.log(data);
}
);

Loading…
Cancel
Save