fix javascript for new and anc link removing
This commit is contained in:
parent
243c9e2946
commit
58a11ff569
|
@ -39,6 +39,7 @@
|
||||||
<a class="delete"><i class="icon-remove"></i></a>
|
<a class="delete"><i class="icon-remove"></i></a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= f.hidden_field :id %>
|
<%= f.hidden_field :id %>
|
||||||
|
<%= hidden_field_tag :tr, (dom_id form_bulletin_link) %>
|
||||||
<a class="remove_existing_record"><i class="icon-remove"></i></a>
|
<a class="remove_existing_record"><i class="icon-remove"></i></a>
|
||||||
<%= f.hidden_field :should_destroy, :value => nil, :class => 'should_destroy' %>
|
<%= f.hidden_field :should_destroy, :value => nil, :class => 'should_destroy' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
<a class="delete"><i class="icon-remove"></i></a>
|
<a class="delete"><i class="icon-remove"></i></a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= f.hidden_field :id %>
|
<%= f.hidden_field :id %>
|
||||||
|
<%= hidden_field_tag :tr, (dom_id form_news_bulletin_link) %>
|
||||||
<a class="remove_existing_record"><i class="icon-remove"></i></a>
|
<a class="remove_existing_record"><i class="icon-remove"></i></a>
|
||||||
<%= f.hidden_field :should_destroy, :value => nil, :class => 'should_destroy' %>
|
<%= f.hidden_field :should_destroy, :value => nil, :class => 'should_destroy' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue