mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-12 16:35:52 +01:00
Add the cancellation process of the issue.
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user