app/assets/javascripts/admin/promotions.js in spree_promo-1.3.2 vs app/assets/javascripts/admin/promotions.js in spree_promo-1.3.3

- old
+ new

@@ -1,16 +1,16 @@ var initProductActions = function(){ // Add classes on promotion items for design - $('a.delete').live('mouseover mouseout', function(event) { + $(document).on('mouseover mouseout', 'a.delete', function(event) { if (event.type == 'mouseover') { $(this).parent().addClass('action-remove'); } else { $(this).parent().removeClass('action-remove'); } }); - $(".variant_autocomplete").variantAutocomplete(); + $('#promotion-filters').find(".variant_autocomplete").variantAutocomplete(); $('.calculator-fields').each(function(){ var $fields_container = $(this); var $type_select = $fields_container.find('.type-select'); var $settings = $fields_container.find('.settings');