3140: use correct id for scroller
authorradhika <radhika@curoverse.com>
Tue, 15 Jul 2014 02:08:15 +0000 (22:08 -0400)
committerradhika <radhika@curoverse.com>
Tue, 15 Jul 2014 02:08:15 +0000 (22:08 -0400)
apps/workbench/app/views/projects/_show_data_collections.html.erb
apps/workbench/app/views/projects/_show_jobs_and_pipelines.html.erb
apps/workbench/app/views/projects/_show_other_objects.html.erb
apps/workbench/app/views/projects/_show_pipeline_templates.html.erb
apps/workbench/app/views/projects/_show_subprojects.html.erb
apps/workbench/app/views/projects/_show_tab_contents.html.erb

index 9198c653dc2c06bd642d05214da022c3c7ea46f8..01e740bda46ef3055e0bb62886e5b434858bcc0b 100644 (file)
@@ -62,4 +62,4 @@
   page_offset = next_page_offset @objects
 %>
 
-<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset} %>
+<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, scroller: 'Data_collections'} %>
index 9b42452f693213b8159c9a6ce4a7a618fb4173f0..1db0d9f9b81c6b76af3dfea5b3605cf0b855dba3 100644 (file)
@@ -5,4 +5,4 @@
   page_offset = next_page_offset @objects
 %>
 
-<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset} %>
+<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, scroller: 'Jobs_and_pipelines'} %>
index 3275ac74afa43bd3fe9e6231c20f2123d20824f5..72b88d02d931bcbd27be44ac2ae25e006bbb354f 100644 (file)
@@ -5,4 +5,4 @@
   page_offset = next_page_offset @objects
 %>
 
-<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset} %>
+<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, scroller: 'Other_objects'} %>
index 5497f12a5f34b6915a7cc5855d0c6ffc260883fb..6b0fe0baefac3bbbc4af0a9826f9d1779e80d652 100644 (file)
@@ -5,4 +5,4 @@
   page_offset = next_page_offset @objects
 %>
 
-<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset} %>
+<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, scroller: 'Pipeline_templates'} %>
index 6e93a4a93ab6c48738809b802582af615c75cf7d..aee93709b70f00d7a504c9cb59560ac373a41d34 100644 (file)
@@ -5,4 +5,4 @@
   page_offset = next_page_offset @objects
 %>
 
-<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset} %>
+<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, scroller: 'Subprojects'} %>
index c123b299cba18aaa5d50b715e1dc0b40d4f37be1..c40c9d81bc70fa2ae1fc788dc766be2664239cc8 100644 (file)
@@ -29,7 +29,7 @@
       <col width="40%" />
       <col width="60%" />
     </colgroup>
-    <tbody data-infinite-scroller="#Contents-scroll" data-infinite-content-href="<%= url_for(format: :json, partial: :contents_rows, offset: page_offset, filters: "#{filters}") if page_offset %>">
+    <tbody data-infinite-scroller="#<%=scroller%>-scroll" data-infinite-content-href="<%= url_for(format: :json, partial: :contents_rows, offset: page_offset, filters: "#{filters}") if page_offset %>">
       <%= render partial: 'show_contents_rows', locals: {project: @object, objects_and_names: objects_and_names} %>
     </tbody>
     <thead>