[ARVADOS] updated: c28309c9482d47c99d26718fab7b1d866e035142
git at public.curoverse.com
git at public.curoverse.com
Wed Jul 30 14:17:57 EDT 2014
Summary of changes:
apps/workbench/app/helpers/application_helper.rb | 1 +
apps/workbench/app/views/application/_choose.html.erb | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
via c28309c9482d47c99d26718fab7b1d866e035142 (commit)
from eb3c52158a603946b7680ae5f3f0848c7246eb9c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit c28309c9482d47c99d26718fab7b1d866e035142
Author: radhika <radhika at curoverse.com>
Date: Wed Jul 30 14:16:51 2014 -0400
3016: prefill input search with value configured in the template
diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index 1b186c5..ec29b03 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -266,6 +266,7 @@ module ApplicationHelper
action_name: 'OK',
action_href: pipeline_instance_path(id: object.uuid),
action_method: 'patch',
+ preconfigured_search_str: "#{value_info[:search_for]}",
action_data: {
merge: true,
selection_param: selection_param,
diff --git a/apps/workbench/app/views/application/_choose.html.erb b/apps/workbench/app/views/application/_choose.html.erb
index d006a11..0d3f71b 100644
--- a/apps/workbench/app/views/application/_choose.html.erb
+++ b/apps/workbench/app/views/application/_choose.html.erb
@@ -32,7 +32,7 @@
</ul>
</div>
<% end %>
- <input type="text" class="form-control filterable-control focus-on-display" placeholder="Search" data-filterable-target=".modal.arv-choose .selectable-container"/>
+ <input type="text" value="<%=params[:preconfigured_search_str] || ''%>" class="form-control filterable-control focus-on-display" placeholder="Search" data-filterable-target=".modal.arv-choose .selectable-container"/>
</div>
<div style="height: 1em" />
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list