You are here

function dialog_ajax_render in Dialog 6

Perform a simple modal render and immediately exit.

This is primarily used for error displays, since usually modals will contain forms.

1 call to dialog_ajax_render()
dialog_example_ajax_callback in example/dialog_example.module

File

./dialog.module, line 117

Code

function dialog_ajax_render($title, $output, $options = array()) {
  ctools_include('ajax');
  $commands = array();
  $commands[] = dialog_command_display($title, $output, $options);
  ctools_ajax_render($commands);
}