function views_ajax_error
3.x ajax.inc | views_ajax_error($message) |
Return an AJAX error.
Related topics
7 calls to views_ajax_error()
- views_ui_add_item_form in includes/
admin.inc - Form to add_item items in the views UI.
- views_ui_config_item_extra_form in includes/
admin.inc - Form to config_item items in the views UI.
- views_ui_config_item_form in includes/
admin.inc - Form to config_item items in the views UI.
- views_ui_config_style_form in includes/
admin.inc - Form to config_style items in the views UI.
- views_ui_config_type_form in includes/
admin.inc - Form to config items in the views UI.
File
- includes/
ajax.inc, line 213 - Handles the server side AJAX interactions of Views.
Code
function views_ajax_error($message) {
$commands = array();
$commands[] = views_ajax_command_set_form($message, t('Error'));
return $commands;
}