From e5010ad8ef82b5dd5b91d2303a582cb30ff51b0a Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 7 Jun 2017 08:49:35 -0400 Subject: [PATCH] Prepare backbone route for datasets endpoint --- client/galaxy/scripts/apps/analysis.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/galaxy/scripts/apps/analysis.js b/client/galaxy/scripts/apps/analysis.js index 692178fdb48..266eba27f28 100644 --- a/client/galaxy/scripts/apps/analysis.js +++ b/client/galaxy/scripts/apps/analysis.js @@ -82,6 +82,7 @@ window.app = function app( options, bootstrapped ){ '(/)user(/)(:form_id)' : 'show_user_form', '(/)workflow(/)' : 'show_workflows', '(/)pages(/)(:action_id)' : 'show_pages', + '(/)pages(/)(:action_id)' : 'show_datasets', '(/)workflow/configure_menu(/)' : 'show_configure_menu', '(/)custom_builds' : 'show_custom_builds' }, @@ -117,6 +118,10 @@ window.app = function app( options, bootstrapped ){ this.page.display( new UserPreferences.Forms( { form_id: form_id, user_id: Galaxy.params.id } ) ); }, + show_datasets : function() { + this.page.display( new GridView( { url_base: Galaxy.root + 'dataset/list_', dict_format: true } ) ); + }, + show_pages : function( action_id ) { this.page.display( new GridView( { url_base: Galaxy.root + 'page/list_published', dict_format: true } ) ); },