You are here

function properties_admin_add_more_js in Dynamic properties 7

Ajax callback in response to a new empty widget being added to the form.

This returns the new page content to replace the page content made obsolete by the form submission.

See also

field_add_more_submit()

1 string reference to 'properties_admin_add_more_js'
properties_admin_categories_form in ./properties.admin.inc
Form builder; Add/Edit form for categories.

File

./properties.admin.inc, line 555
Contains admin menu callbacks for properties.module.

Code

function properties_admin_add_more_js($form, $form_state) {
  $element = $form['attributes'];
  return $element;
}