Test pass: test_destroy
Expand Targets #update success flash and failure handling Add Target index table checks in modification actions tests
This commit is contained in:
3
app/views/targets/destroy.js.erb
Normal file
3
app/views/targets/destroy.js.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<% if @targets.all?(&:destroyed?) %>
|
||||
$('tr[id=date-<%= @effective_from %>]').nextUntil('tr.primary').addBack().remove();
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user