function properties_template_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
1 string reference to 'properties_template_admin_add_more_js'
- properties_template_admin_templates_form in properties_template/
properties_template.admin.inc - Form builder; Add/Edit form for templates.
File
- properties_template/
properties_template.admin.inc, line 264 - Contains admin menu callbacks for properties_template.module.
Code
function properties_template_admin_add_more_js($form, $form_state) {
$element = $form['categories'];
return $element;
}