X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7e88a950d4fdbc2790e6164aa7d947b491419f21..a1fc48d0bdba5062da9d8ea57e2cda805421aab8:/apps/workbench/app/views/application/_content.html.erb diff --git a/apps/workbench/app/views/application/_content.html.erb b/apps/workbench/app/views/application/_content.html.erb index 418923c85a..c9522de3f2 100644 --- a/apps/workbench/app/views/application/_content.html.erb +++ b/apps/workbench/app/views/application/_content.html.erb @@ -25,11 +25,9 @@ function ajaxRefreshTabPane(pane) { if (!tab_pane_valid_state[pane]) { tab_pane_valid_state[pane] = true; - $(document).trigger('ajax:send'); $.ajax('<%=j url_for() %>?<%= raw(controller.request.query_string) %>&tab_pane='+pane, {dataType: 'html', type: 'GET'}). done(function(data, status, jqxhr) { $('#' + pane + ' > div > div').html(data); - $(document).trigger('ajax:complete'); ajaxRefreshTabPane(pane); }); } @@ -87,7 +85,7 @@ <%= render(partial: 'show_' + pane.downcase, locals: { comparable: comparable, objects: @objects }) %> <% else %> - <%= image_tag 'ajax-loader.gif' %> +
<% end %>