mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #1289 from carlfeberhard/fix.anon-user-quotameter
UI, Quotameter: correctly update the quotameter for anon users
This commit is contained in:
@@ -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
Reference in New Issue
Block a user