X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c5fa3f7b2faea363cf73c7e4a2880086c7c9e4f0..c4fa80c6ed2445e1e384455944eb6c4108906cad:/apps/workbench/app/assets/javascripts/request_shell_access.js diff --git a/apps/workbench/app/assets/javascripts/request_shell_access.js b/apps/workbench/app/assets/javascripts/request_shell_access.js index c8cbe347fc..792ab31312 100644 --- a/apps/workbench/app/assets/javascripts/request_shell_access.js +++ b/apps/workbench/app/assets/javascripts/request_shell_access.js @@ -1,19 +1,10 @@ -$(document). - on('click', "#request_shell_submit", function(e){ - $(this).html('Sending request ...'); - $(this).prop('disabled', true); - $('div').remove('.request_shell_access_failed'); - - $.ajax('/'). - success(function(data, status, jqxhr) { - $('div').remove('.no_shell_access_msg'); - $('.no_shell_access').append('
Request sent for shell access.
Something went wrong. Please try again.