1 ajax.inc | views_ajax_error($message) |
Return an AJAX error.
Related topics
File
- core/
modules/ views/ includes/ ajax.inc, line 174 - Handles the server side AJAX interactions of Views.
Code
function views_ajax_error($message) {
$commands = array();
$commands[] = ajax_command_open_modal_dialog(t('Error'), $message);
return $commands;
}