You are here

function splashify_ajax_what_desktop_mode_callback in Splashify 6

Same name and namespace in other branches
  1. 7 admin/splashify.admin.what.inc \splashify_ajax_what_desktop_mode_callback()

Ajax callback for the desktop mode dropdown.

The $form array element that is returned is the updated field that should be displayed.

1 string reference to 'splashify_ajax_what_desktop_mode_callback'
splashify_admin_what_form in admin/splashify.admin.what.inc
"What" settings tab.

File

admin/splashify.admin.what.inc, line 236
The admin "What" tab.

Code

function splashify_ajax_what_desktop_mode_callback($form, &$form_state) {
  return $form['desktop']['mode_value'];
}