Index: jump.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/jump/jump.module,v
retrieving revision 1.1.4.2
diff -u -p -r1.1.4.2 jump.module
--- jump.module	11 Sep 2009 18:22:48 -0000	1.1.4.2
+++ jump.module	11 Sep 2009 21:58:41 -0000
@@ -76,13 +76,31 @@ function jump_quickly($name = 'navigatio
 }
 
 function jump_quickly_form(&$form_state, $options) {
+  // Loop through the options to see if they are in the path.  If they are
+  // we have found the default selection for the form.  This sollution is
+  // common between the menu system and taxonomy;
+  foreach ($options as $path => $name) {
+    $ct = 0;
+    $default = $path;
+    foreach (explode('/', $path) as $index) {
+      if (strcmp($index, arg($ct))) {
+        $default = '';
+        break;
+      }
+      $ct++;
+    }
+    if (!empty($default)) {
+      break;
+    }
+  }
+
   $form = array();
   $form['#submit'][] = 'jump_quickly_form_submit';
   $form['#theme'] = 'jump_quickly_form';
   $form['#attributes']['class'] = 'jump-quickly';
   $form['jump_goto'] = array(
     '#type' => 'select',
-    '#default_value' => '0',
+    '#default_value' => $default,
     '#options' => $options
   );
   $form['submit'] = array(
