<tr> | <tr> | ||||
<th>4. Confirm</th> | <th>4. Confirm</th> | ||||
<td> | <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> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> |
function page_load_tags() { | function page_load_tags() { | ||||
// update tag list | // update tag list | ||||
$.getJSON( | |||||
conf.openapi + | |||||
"/tags" | |||||
) | |||||
$.getJSON(conf.openapi + "/tags", function(data) { | |||||
console.log(data); | |||||
} | |||||
); | |||||
} | } | ||||
function document_load() { | function document_load() { |