function hosting_task_ajax_queue in Hosting 7.4
Same name and namespace in other branches
- 6.2 task/hosting_task.module \hosting_task_ajax_queue()
- 7.3 task/hosting_task.module \hosting_task_ajax_queue()
AJAX callback for refreshing task list.
1 string reference to 'hosting_task_ajax_queue'
- hosting_task_menu in task/
hosting_task.module - Implements hook_menu().
File
- task/
hosting_task.module, line 206 - Web server node type is defined here.
Code
function hosting_task_ajax_queue() {
$view = views_get_view('hosting_task_list');
$view
->set_display('block');
$view
->pre_execute();
$return['markup'] = $view
->render('block');
drupal_json_output($return);
exit;
}