mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-02 02:11:33 +00:00
Fix new_product div in new product page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<%# This chunk is just a copy of Spree's backend/app/views/spree/admin/products/new.js.erb %>
|
||||
$("#new_product_wrapper").html('<%= escape_javascript(render :template => "spree/admin/products/new", :formats => [:html], :handlers => [:haml]) %>');
|
||||
$("#new_product").html('<%= escape_javascript(render :template => "spree/admin/products/new", :formats => [:html], :handlers => [:haml]) %>');
|
||||
handle_date_picker_fields();
|
||||
<% unless Rails.env.test? %>
|
||||
$('.select2').select2();
|
||||
|
||||
Reference in New Issue
Block a user