X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/183bdcd6c6b2c54f8f2558fbdb6bec974c1d16e4..44365f7532b85d73322b1a702bf458b489ee0e27:/apps/workbench/app/assets/javascripts/report_issue.js diff --git a/apps/workbench/app/assets/javascripts/report_issue.js b/apps/workbench/app/assets/javascripts/report_issue.js index e769d80957..f3c323c63b 100644 --- a/apps/workbench/app/assets/javascripts/report_issue.js +++ b/apps/workbench/app/assets/javascripts/report_issue.js @@ -1,7 +1,7 @@ $(document). on('click', "#report-issue-submit", function(e){ $(this).html('Sending'); - $(this).attr('disabled', true); + $(this).prop('disabled', true); var $cancelButton = $('#report-issue-cancel'); if ($cancelButton) { $cancelButton.html('Close'); @@ -21,7 +21,7 @@ $(document). $('div').remove('.modal-footer-status'); $('.modal-footer').append('

'); $sendButton.html('Send problem report'); - $sendButton.attr('disabled',false); + $sendButton.prop('disabled', false); } var $cancelButton = $('#report-issue-cancel'); $cancelButton.html('Cancel');