X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ffabe045231d83faef9a908259fb0919f0d5cc0e..556503e1f98b8e262fcc1227ac4afdc78a2c05ca:/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 a05cba5983..e769d80957 100644 --- a/apps/workbench/app/assets/javascripts/report_issue.js +++ b/apps/workbench/app/assets/javascripts/report_issue.js @@ -13,18 +13,17 @@ $(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(''); - $sendButton.html('Send problem report'); - $sendButton.attr('disabled',false); - } + $('div').remove('.modal-footer-status'); + $('.modal-footer').append('

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