You are here

function crossdomain_form_add_one in Crossdomain 7

Submit handler for the "add-one-more" button.

Increments the max counter and causes a rebuild.

1 string reference to 'crossdomain_form_add_one'
crossdomain_form in ./crossdomain.admin.inc
Manages the domains for the crossdomain.xml file.

File

./crossdomain.admin.inc, line 94

Code

function crossdomain_form_add_one($form, &$form_state) {
  $form_state['num_domains']++;
  $form_state['rebuild'] = TRUE;
}