Sha256: 93aaf205d79576b575605e24e8f1bbea39c6bb6eb2fa42ff125ffe7bc68ddd83

Contents?: true

Size: 477 Bytes

Versions: 17

Compression:

Stored size: 477 Bytes

Contents

$('#rules').append('<%= escape_javascript( render(:partial => 'spree/admin/promotions/promotion_rule', :object => @promotion_rule) ) %>');
$('#<%= dom_id @promotion_rule %>').hide();
$('#<%= dom_id @promotion_rule %>').fadeIn();
$('#<%= dom_id @promotion_rule %> .tokeninput.products').productPicker();
$('#<%= dom_id @promotion_rule %> .tokeninput.users').userPicker();

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_promo-1.2.5 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.6 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.5 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.2.4 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.2.3 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.2.2 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.4 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.2.0 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.2.0.rc2 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.2.0.rc1 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.3 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.2 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.2.rc1 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.1 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.0 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.0.rc2 app/views/spree/admin/promotion_rules/create.js.erb
spree_promo-1.1.0.rc1 app/views/spree/admin/promotion_rules/create.js.erb