function panels_ajax in Panels 5.2
1 string reference to 'panels_ajax'
- panels_menu in ./
panels.module - Implementation of hook_menu
File
- includes/
display_edit.inc, line 677
Code
function panels_ajax($op = NULL, $did = NULL, $pid = NULL) {
switch ($op) {
case 'submit-form':
if ((is_numeric($did) || $did == 'new') && ($cache = panels_cache_get($did))) {
$output = panels_edit_submit_subform($cache->display);
}
break;
default:
}
panels_ajax_render($output);
}