function media_admin_config_browser_pre_submit in D7 Media 7.4
Same name and namespace in other branches
- 7 includes/media.admin.inc \media_admin_config_browser_pre_submit()
- 7.2 includes/media.admin.inc \media_admin_config_browser_pre_submit()
- 7.3 includes/media.admin.inc \media_admin_config_browser_pre_submit()
Form submission handler for media_admin_config_browser().
1 string reference to 'media_admin_config_browser_pre_submit'
- media_admin_config_browser in includes/
media.admin.inc - Displays the media administration page.
File
- includes/
media.admin.inc, line 138 - Administration page callbacks for the Media module.
Code
function media_admin_config_browser_pre_submit(&$form, &$form_state) {
if (!$form_state['values']['media_dialog_theme']) {
variable_del('media_dialog_theme');
unset($form_state['values']['media_dialog_theme']);
}
}