Browse Source

Fix for erroneous Submitting mode on button

Click handler was also attaching to “Select Attachments” button, so
modified selector to grab #issue-reply-btn by ID and submit button
pull/332/head
Andrew Patton 11 years ago
parent
commit
a447aecd95
  1. 2
      public/js/app.js

2
public/js/app.js

@ -640,7 +640,7 @@ function initIssue() {
var clickedButton = undefined;
$("button,input[type=\"submit\"]", fileInput.form).on("click", function() {
$('#issue-reply-btn,input[type="submit"]', fileInput.form).on('click', function() {
clickedButton = this;
var $button = $(this);

Loading…
Cancel
Save