mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
fix issue ajax update
This commit is contained in:
parent
ffa59739b6
commit
be45057c3a
@ -454,6 +454,7 @@ function initIssue() {
|
|||||||
if (json.ok) {
|
if (json.ok) {
|
||||||
$('.issue-head h1.title').text(json.title);
|
$('.issue-head h1.title').text(json.title);
|
||||||
$('.issue-main > .issue-content .content').html(json.content);
|
$('.issue-main > .issue-content .content').html(json.content);
|
||||||
|
$('.issue-edit-cancel').trigger("click");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user