@@ -126,6 +126,21 @@ $(document).ready(function () { | |||
}); | |||
}); | |||
$('.autodoc_tag_delete').click(function(e) { | |||
var tagId = $('.autodoc_tag_id').val(); | |||
if ( tag != "" ) { | |||
$.ajax({ | |||
type: "DELETE", | |||
url = conf.openapi + "/tags/" + tagId, | |||
success: function() { location.reload(); } | |||
}); | |||
} | |||
else { | |||
location.reload(); | |||
} | |||
}); | |||
// tag add color events | |||
$('.autodoc_tag_color').click(function (e) { | |||
var btn = e.target; |