Skip to content

Commit d1a0d39

Browse files
committed
make new issue supply items deletable as well. #31
1 parent 474ede7 commit d1a0d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/issue_supply_items/create.js.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
wrap.find('input[type=text]').val(quantity + <%= i.quantity %>);
1111
wrap.show(); // it may have been hidden by a previous click on delete
1212
} else {
13-
$('#supply_items_inputs').append('<%= j issue_supply_item_form_tag(i) %>');
13+
$('#supply_items_inputs').append('<%= j issue_supply_item_form_tag(i, deletable: true) %>');
1414
}
1515
<% end %>
1616

0 commit comments

Comments
 (0)