X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8d9ccb409bd1a301eea9cbb3a3911797ff7c286a..f59d6d76acf9c6f5bb95c5902b2c9a1cca427e93:/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 97ee939038..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'); @@ -13,15 +13,15 @@ $(document). var $sendButton = $('#report-issue-submit'); $sendButton.html('Report sent'); $('div').remove('.modal-footer-status'); - $('.modal-footer').append('

'); + $('.modal-footer').append('

'); }). fail(function(jqxhr, status, error) { var $sendButton = $('#report-issue-submit'); if ($sendButton && $sendButton.prop('disabled')) { $('div').remove('.modal-footer-status'); - $('.modal-footer').append('

'); + $('.modal-footer').append('

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