Sha256: 0448dc4ebd836c2f0b6309d5a03df6cd1fb6f46d29fb09577caddbced4e86746

Contents?: true

Size: 417 Bytes

Versions: 3

Compression:

Stored size: 417 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();

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

set_taxon_select()

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_backend-3.0.0.rc4 app/views/spree/admin/promotion_rules/create.js.erb
spree_backend-3.0.0.rc3 app/views/spree/admin/promotion_rules/create.js.erb
spree_backend-3.0.0.rc1 app/views/spree/admin/promotion_rules/create.js.erb