Add the cancellation process of the issue.

This commit is contained in:
shimamoto
2013-06-27 17:11:49 +09:00
parent 2de816d197
commit 6d763e8097
3 changed files with 52 additions and 26 deletions

View File

@@ -60,6 +60,9 @@
$(function(){
$('#edit').click(function(){
$.get('@path/@repository.owner/@repository.name/issues/_data/@issue.issueId',
{
dataType : 'html'
},
function(data){
$('#issueContent').empty().html(data);
});
@@ -69,6 +72,9 @@ $(function(){
$('i.icon-pencil').click(function(){
var id = $(this).closest('a').data('comment-id');
$.get('@path/@repository.owner/@repository.name/issue_comments/_data/' + id,
{
dataType : 'html'
},
function(data){
$('#commentContent-' + id).empty().html(data);
});