summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-07-28 15:29:59 -0400
committerwebchick <webchick@24967.no-reply.drupal.org>2011-07-28 15:29:59 -0400
commit1b7c290435fe977b79620b68591a75bebb277193 (patch)
tree8e916bee5343d5980ca05adea5438dce1a82090a /includes/form.inc
parent7dc6896abf2fc068099dbdccec34a5d91b94a731 (diff)
downloadbrdo-1b7c290435fe977b79620b68591a75bebb277193.tar.gz
brdo-1b7c290435fe977b79620b68591a75bebb277193.tar.bz2
Issue #1100260 by barbi, massimoi: Fixed Batch operations example needs redirect.
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 8ee0a5a52..99570a538 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -4033,8 +4033,9 @@ function _form_set_class(&$element, $class = array()) {
* 'file' => 'path_to_file_containing_myfunctions',
* );
* batch_set($batch);
- * // only needed if not inside a form _submit handler :
- * batch_process();
+ * // Only needed if not inside a form _submit handler.
+ * // Setting redirect in batch_process.
+ * batch_process('node/1');
* @endcode
*
* Note: if the batch 'title', 'init_message', 'progress_message', or