From 0058bac6920f4f772bfa9bafbbd8e1f6f2b0347f Mon Sep 17 00:00:00 2001 From: Carl Eberhard Date: Tue, 29 Apr 2014 13:21:56 -0400 Subject: [PATCH] History options: have 'Purge deleted datasets' update the user disk size --- templates/webapps/galaxy/root/index.mako | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/webapps/galaxy/root/index.mako b/templates/webapps/galaxy/root/index.mako index a83c6e58280..d733657ca50 100644 --- a/templates/webapps/galaxy/root/index.mako +++ b/templates/webapps/galaxy/root/index.mako @@ -17,9 +17,6 @@ <%def name="javascripts()"> ${parent.javascripts()} ${tool_menu_javascripts()} - ${h.js( - "utils/LazyDataLoader" - )} <%def name="late_javascripts()"> @@ -95,6 +92,10 @@ "${_("Purge Deleted Datasets")}": function() { if ( confirm( "Really delete all deleted datasets permanently? This cannot be undone." ) ) { galaxy_main.location = "${h.url_for( controller='history', action='purge_deleted_datasets' )}"; + // update the user disk size when the purge page loads + $( '#galaxy_main' ).load( function(){ + Galaxy.user.fetch(); + }) } }, "${_("Show Structure")}": function() {