$('.loading').fadeOut('fast', 0);
}).
on('change', '.persistent-selection:checkbox', function(e) {
- console.log($(this));
- console.log($(this).val());
+ //console.log($(this));
+ //console.log($(this).val());
if (!localStorage.persistentSelection) {
localStorage.persistentSelection = JSON.stringify([]);
<% @collections.each do |c| %>
<tr class="collection">
+ <td>
+ <%= check_box_tag 'uuids[]', c.uuid, false, :class => 'persistent-selection' %>
+ </td>
<td>
<%= link_to_if_arvados_object c.uuid %>
</td>
<div style="padding-right: 1em">
+<%= form_tag do |f| %>
+
<table id="collections-index" class="topalign table table-condensed table-fixedlayout table-fixed-header-row">
<colgroup>
+ <col width="4%" />
<col width="10%" />
<col width="36%" />
<col width="22%" />
</colgroup>
<thead>
<tr class="contain-align-left">
+ <th></th>
<th>uuid</th>
<th>contents</th>
<th>owner</th>
<%= render partial: 'index_tbody' %>
</tbody>
</table>
+
+<% end %>
+
</div>
<% content_for :footer_js do %>
<tr data-object-uuid="<%= ob.uuid %>">
<td>
- <%= check_box_tag 'uuids[]', ob.uuid, false %>
+ <%= check_box_tag 'uuids[]', ob.uuid, false, :class => 'persistent-selection' %>
</td><td>
<% if ob.success %>
<span class="label label-success">success</span>