mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 01:40:36 +00:00
Fix wrong selector for AJAX issue creation.
This commit is contained in:
parent
755eec745f
commit
2cb754b5af
1 changed files with 2 additions and 2 deletions
|
@ -638,7 +638,7 @@ function initIssue() {
|
|||
|
||||
var clickedButton;
|
||||
|
||||
$('#issue-reply-btn,input[type="submit"]', fileInput.form).on('click', function() {
|
||||
$('input[type="submit"],input[type="button"],button.btn-success', fileInput.form).on('click', function() {
|
||||
clickedButton = this;
|
||||
|
||||
var $button = $(this);
|
||||
|
@ -646,7 +646,7 @@ function initIssue() {
|
|||
$button.removeClass("btn-success btn-default");
|
||||
$button.addClass("btn-warning");
|
||||
|
||||
$button.text("Submitting…");
|
||||
$button.html("Submitting…");
|
||||
});
|
||||
|
||||
fileInput.form.addEventListener("submit", function(event) {
|
||||
|
|
Loading…
Reference in a new issue