From cdd11fbe71b77be02d58be4cede492626228eea7 Mon Sep 17 00:00:00 2001 From: Alessio Rocco Date: Thu, 6 Oct 2016 18:26:19 +0200 Subject: [PATCH] Fix promotion rule select 2 --- backend/app/views/spree/admin/promotion_rules/create.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/views/spree/admin/promotion_rules/create.js.erb b/backend/app/views/spree/admin/promotion_rules/create.js.erb index 62fae8b0521..717a0625a8d 100644 --- a/backend/app/views/spree/admin/promotion_rules/create.js.erb +++ b/backend/app/views/spree/admin/promotion_rules/create.js.erb @@ -7,4 +7,5 @@ $('.taxon_picker').taxonAutocomplete(); $('#promotion_rule_type').html('<%= escape_javascript options_for_promotion_rule_types(@promotion) %>'); $('#promotion_rule_type').select2(); +$('#rules select.select2').select2();