소스 검색

delete tags

master
Pascal Gloor 5 년 전
부모
커밋
db5de5d0a8
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 15
    0
      www/js/autodoc.js

+ 15
- 0
www/js/autodoc.js 파일 보기

@@ -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;

Loading…
취소
저장