Skip to content
Snippets Groups Projects

Issue #3432193: Backport modal callback

Files
4
@@ -62,6 +62,7 @@ function dialog_command_open_dialog($selector, $title, $content, array $dialog_o
// Add the library for handling the dialog in the response.
drupal_add_library('dialog', 'drupal.dialog.ajax');
$title = decode_entities(strip_tags($title));
$dialog_options += array('title' => $title);
if (is_array($content)) {
Loading