Merge pull request #1289 from carlfeberhard/fix.anon-user-quotameter

UI, Quotameter: correctly update the quotameter for anon users
This commit is contained in:
Aysam Guerler
2015-12-10 15:47:55 -05:00
4 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -151,7 +151,8 @@ window.app = function app( options, bootstrapped ){
// page render. It's re-created each time because there is no render function and can't be re-rendered without
// re-creating it.
Galaxy.listenTo( analysisPage.right.historyView, 'history-size-change', function(){
Galaxy.user.fetch();
// fetch to update the quota meter adding 'current' for any anon-user's id
Galaxy.user.fetch({ url: Galaxy.user.urlRoot() + '/' + ( Galaxy.user.id || 'current' ) });
});
analysisPage.right.historyView.connectToQuotaMeter( analysisPage.masthead.quotaMeter );
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long