You are here

function uc_coupon_ajax_callback in Ubercart Discount Coupons 7.2

Same name and namespace in other branches
  1. 7.3 uc_coupon.admin.inc \uc_coupon_ajax_callback()

Ajax form element selector callback for "Add more items" buttons in restrictions fieldsets.

1 string reference to 'uc_coupon_ajax_callback'
uc_coupon_add_form in ./uc_coupon.admin.inc
Coupon add/edit form.

File

./uc_coupon.admin.inc, line 889
Discount Coupons administration pages.

Code

function uc_coupon_ajax_callback($form, $form_state) {
  return $form[$form_state['ajax_submission']];
}