Commit e44d3038 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix the copy of webapp parameters into the job form

parent 13708cb4
<% if not webapp_parameter.detail.blank? %>
<p>
<i class="fa fa-code fa-4"></i>
<a class="param lead" href="#" ><%= webapp_parameter.detail %></a> :
<span class="param_value lead"><%= webapp_parameter.value %></span>
<a class="param lead" href="javascript:void(0)" data-value="<%= webapp_parameter.value %>"><%= webapp_parameter.detail %></a> :
<span class="param_value lead"><%= webapp_parameter.value %></span>
<script type="text/javascript">
<%# attach callback to each webapp_parameter to copy it into the job form %>
$("a.param").click(function(ev) {
$("#text_param").val($(ev.target).attr("data-value"))
});
</script>
</p>
<% end %>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment