5420: remove search box autocomplete off update so that this can be addressed in...
authorRadhika Chippada <radhika@curoverse.com>
Wed, 1 Apr 2015 14:32:48 +0000 (10:32 -0400)
committerRadhika Chippada <radhika@curoverse.com>
Wed, 1 Apr 2015 14:32:48 +0000 (10:32 -0400)
apps/workbench/app/views/collections/_show_files.html.erb

index cdc94c4041c5049aa898d825238d6a77129120e6..26e71c8d5d32a545f6ccccccaed32af3d98b2087 100644 (file)
@@ -43,7 +43,7 @@ function unselect_all_files() {
         </div>
       </div>
       <div class="pull-right">
-        <input class="form-control filterable-control" data-filterable-target="ul#collection_files" id="file_regex" name="file_regex" placeholder="filename regex" type="text" autocomplete="off"/>
+        <input class="form-control filterable-control" data-filterable-target="ul#collection_files" id="file_regex" name="file_regex" placeholder="filename regex" type="text"/>
       </div>
     </div>
     <p/>
@@ -90,8 +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 => index,
-                  :autocomplete => "off",
+                  :id => "#{@object.uuid}_file_#{index}",
                 } %>
             <span>&nbsp;</span>
             <% end %>