Sha256: 71849bca5becdc37dc92978efe4db53505b5aeee4242d34ff72eff22e2455d6a

Contents?: true

Size: 400 Bytes

Versions: 148

Compression:

Stored size: 400 Bytes

Contents

$('#rules').append('<%= escape_javascript( render(partial: 'spree/admin/promotions/promotion_rule', object: @promotion_rule) ) %>');
$('#rules .no-objects-found').hide();

$('.product_picker').productAutocomplete();
$('.user_picker').userAutocomplete();
$('.taxon_picker').taxonAutocomplete();

$('#promotion_rule_type').html('<%= escape_javascript options_for_promotion_rule_types(@promotion) %>');

Version data entries

148 entries across 148 versions & 3 rubygems

Version Path
solidus_legacy_promotions-4.4.1 lib/views/backend/spree/admin/promotion_rules/create.js.erb
solidus_legacy_promotions-4.4.0 lib/views/backend/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.3.4 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.2.4 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.1.5 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.3.3 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.3.2 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.1.4 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.3.1 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.3.0 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.2.3 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.1.3 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.0.4 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-3.4.6 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.0.3 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.1.2 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.2.2 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-3.4.5 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.2.1 app/views/spree/admin/promotion_rules/create.js.erb
solidus_backend-4.2.0 app/views/spree/admin/promotion_rules/create.js.erb