Index: skeleton_instance.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/skeleton/skeleton_instance.inc,v
retrieving revision 1.17
diff -u -r1.17 skeleton_instance.inc
--- skeleton_instance.inc	12 Mar 2009 18:22:29 -0000	1.17
+++ skeleton_instance.inc	31 Mar 2009 19:40:21 -0000
@@ -747,6 +747,7 @@
     // into the book module. See http://drupal.org/node/364529 for details.
     menu_rebuild();
     // get the id we just created
+    $form_state['nids'][] = $parent_node['nid'];
     $book_id = $parent_node['nid'];
     $goto_id = $book_id;
     // iterate through the dummy nodes and create the book pages
@@ -790,6 +791,7 @@
       // TODO: This will probably need to be removed if this call is integrated
       // into the book module. See http://drupal.org/node/364529 for details.
       menu_rebuild();
+      $form_state['nids'][] = $node['nid'];
       // Store all of the menu id's for each inserted template.
       $parents[$data->template_id] = $node['nid'];
     }
