mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-20 12:47:13 +00: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 a new issue