closes #5420
authorRadhika Chippada <radhika@curoverse.com>
Wed, 1 Apr 2015 15:08:06 +0000 (11:08 -0400)
committerRadhika Chippada <radhika@curoverse.com>
Wed, 1 Apr 2015 15:08:06 +0000 (11:08 -0400)
Merge branch '5420-collection-checkbox-selections'

apps/workbench/app/views/application/_selection_checkbox.html.erb
apps/workbench/app/views/collections/_show_files.html.erb

index a234e9f65696d94d0b11ff864b89949232dd9966..47e1dfdecff9454175ac6ead87e2766308e7140f 100644 (file)
@@ -11,6 +11,7 @@
      fn = String.new fn %>
 <%= check_box_tag 'uuids[]', object.uuid, false, {
       :class => 'persistent-selection',
+      :id => object.uuid,
       :friendly_type => object.class.name,
       :friendly_name => fn,
       :href => "#{url_for controller: object.class.name.tableize, action: 'show', id: object.uuid }",
index 8dcef33bf20444b95481cd9a415d03ef76cec5f3..26e71c8d5d32a545f6ccccccaed32af3d98b2087 100644 (file)
@@ -90,6 +90,7 @@ function unselect_all_files() {
                   :href => url_for(controller: 'collections', action: 'show_file',
                                    uuid: @object.portable_data_hash, file: file_path),
                   :title => "Include #{file_path} in your selections",
+                  :id => "#{@object.uuid}_file_#{index}",
                 } %>
             <span>&nbsp;</span>
             <% end %>