spree/spree — Issue #969: Promotions > Add Product adds duplicates
Author: BDQ
Created: 2012-01-13 11:09:04+00:00
State: open

Steps to reproduce:

1) Create a new promotion.
2) Add "Create line items" Action
3) Search for "Rails" and select any product.
4) Click "Add" and two of the product will be added.

It looks like the Jquery handlers are being attached multiple times. If you click the red x to remove Action and then re-add it. You will get three products added.