Browse Source

get tags

master
Pascal Gloor 5 years ago
parent
commit
956a6642e3
2 changed files with 6 additions and 6 deletions
  1. 2
    2
      www/index.html
  2. 4
    4
      www/js/autodoc.js

+ 2
- 2
www/index.html View File

@@ -305,8 +305,8 @@
<tr>
<th>4. Confirm</th>
<td>
<button type="button" class="btn btn-outline-primary">Add/Update Tag</button>
<button type="button" class="btn btn-outline-danger">Delete Tag</button>
<button type="button" class="autodoc_tag_add btn btn-outline-primary">Add/Update Tag</button>
<button type="button" class="autodoc_tag_delete btn btn-outline-danger">Delete Tag</button>
</td>
</tr>
</table>

+ 4
- 4
www/js/autodoc.js View File

@@ -172,10 +172,10 @@ function page_load_upload() {

function page_load_tags() {
// update tag list
$.getJSON(
conf.openapi +
"/tags"
)
$.getJSON(conf.openapi + "/tags", function(data) {
console.log(data);
}
);
}

function document_load() {

Loading…
Cancel
Save