summaryrefslogtreecommitdiff
path: root/includes/ajax.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ajax.inc')
-rw-r--r--includes/ajax.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ajax.inc b/includes/ajax.inc
index 478adf572..6bfd86d77 100644
--- a/includes/ajax.inc
+++ b/includes/ajax.inc
@@ -184,7 +184,7 @@ function ajax_get_form() {
}
// Since some of the submit handlers are run, redirects need to be disabled.
- $form['#redirect'] = FALSE;
+ $form_state['no_redirect'] = TRUE;
// The form needs to be processed; prepare for that by setting a few internal
// variables.