You are here

function abjs_ajax_remove_experience in A/B Test JS 7

Removes experience select fields and fractions to abjs_test_form.

1 string reference to 'abjs_ajax_remove_experience'
abjs_test_form in ./abjs.admin.inc
Generates a form for adding and editing tests.

File

./abjs.admin.inc, line 419
Admin forms to view/add/edit/delete tests, conditions, experiences.

Code

function abjs_ajax_remove_experience($form, &$form_state) {
  if ($form_state['num_experiences'] > 1) {
    $form_state['num_experiences']--;
  }
  $form_state['rebuild'] = TRUE;
}