Index: book_manager.batch.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/book_manager/Attic/book_manager.batch.inc,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 book_manager.batch.inc
--- book_manager.batch.inc	7 Dec 2010 05:29:20 -0000	1.1.2.1
+++ book_manager.batch.inc	7 Dec 2010 07:37:39 -0000
@@ -34,6 +34,8 @@ function book_manager_batch_process($nod
       $context['sandbox']['max'] = 0;
     }
   }
+
+
   // Do our batch operations
   $context['sandbox']['current_node'] = array_shift($context['sandbox']['nids']);
   if (!empty($context['sandbox']['current_node'])) {
@@ -62,4 +64,27 @@ function book_manager_batch_process($nod
     $context['finished'] = 1; 
   }
 }
- 
+
+
+/**
+ * Implementation of hook_book_manager_batch_operate 
+ *
+ * @param $node a node object that has been edited
+ * @param $node2 a node object that we may want to edit relative
+ *    to changes made to $node
+ */
+function book_manager_book_manager_batch_operate($node, &$node2) {
+  if (book_manager_uniform_status($node->book)) {
+    // adjust node2's visiblity
+    $node2->status = $node->status;
+  }
+}
+
+/**
+ * Given a book node object this returns whether or not that book 
+ * should have uniform status. That is, all nodes in the book
+ * should have the same status settings.
+ */
+function book_manager_uniform_status($book) {
+  return variable_get('book_manager_uniform_status', 1);
+}
Index: book_manager.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/book_manager/book_manager.module,v
retrieving revision 1.1.2.14.2.18
diff -u -p -r1.1.2.14.2.18 book_manager.module
--- book_manager.module	7 Dec 2010 05:29:20 -0000	1.1.2.14.2.18
+++ book_manager.module	7 Dec 2010 07:37:39 -0000
@@ -413,7 +413,11 @@ function book_manager_form_alter(&$form,
 function _book_manager_outline_alter(&$form, $node) {
   _book_manager_limit_books($form['book']['bid'], $node);
   _book_manager_set_personal($form);
-
+  
+  // necessary to bounce through batch processing
+  if (user_access('book manager batch process')) {
+    $form['#redirect'] = 'book_manager/batch/'. $node->nid;
+  }
 }
 
 /**
