Project

General

Profile

« Previous | Next » 

Revision e2982830

Added by Shlomi Zadok over 8 years ago

fixes #11374 - re-initialize select2 on smart vars

View differences:

app/views/lookup_keys/_value.html.erb
<tr class="fields matchers form-group <%= 'has-error' if f.object.errors.any? %>">
<td>
<%= f.hidden_field :match, :class => 'match' %>
<%= select_tag '', nil, :class => 'matcher_key' %>
<%= select_tag '', nil, :class => 'matcher_key without_select2' %>
=
<%= text_field_tag '', nil, :class => 'matcher_value' %>
</td>

Also available in: Unified diff