diff --git a/modal_forms/modal_forms.pages.inc b/modal_forms/modal_forms.pages.inc index f8b4d78..6dbfbce 100644 --- a/docroot/sites/all/modules/contrib/modal_forms/modal_forms.pages.inc +++ b/docroot/sites/all/modules/contrib/modal_forms/modal_forms.pages.inc @@ -71,7 +71,8 @@ function modal_forms_register($js = NULL) { $output[] = ctools_ajax_command_reload(); } } - print ajax_render($output); + + ajax_deliver(array('#type' => 'ajax', '#commands' => $output)); } /**