Fix rendering of javascript template

The erb tags in this partial were not being parsed as erb, breaking various other things on the page.
This commit is contained in:
Matt-Yorkley
2021-01-24 21:00:30 +00:00
parent 688b3c98d7
commit 6087a4b969
2 changed files with 1 additions and 1 deletions

View File

@@ -26,4 +26,4 @@
var shipments = [];
- @order.shipments.each do |shipment|
shipments.push(#{shipment.to_json(:root => false, :include => [:inventory_units, :stock_location]).html_safe});
= render :partial => 'spree/admin/shared/update_order_state', :handlers => [:js]
= render :partial => 'spree/admin/shared/update_order_state', :handlers => [:erb]