summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoripinchuk2015-01-21 15:26:47 (GMT)
committerdrastik2015-01-21 15:26:47 (GMT)
commite353f19cb6ad8aa4490033ab30b509e4541019cd (patch)
tree2102334c90b3cb37d72c90aa820c594e298535ac
parentef2a9a978edbc84d718d19ca235f0cbe7b56d6f3 (diff)
Issue #2311801 by ipinchuk: Ajax callback return value
-rwxr-xr-xwebform_ajax.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/webform_ajax.module b/webform_ajax.module
index 2d851c4..a413362 100755
--- a/webform_ajax.module
+++ b/webform_ajax.module
@@ -235,6 +235,7 @@ function _webform_ajax_callback_completed($form, $form_state) {
// This output does not alter the page, and ensures Drupal messages are kept for the next request.
$output = array(
'#type' => 'ajax',
+ '#commands' => array(),
);
}
return $output;