Index: translatable.node.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/translatable/translatable.node.inc,v retrieving revision 1.1.2.3 diff -u -p -r1.1.2.3 translatable.node.inc --- translatable.node.inc 9 Apr 2008 19:16:03 -0000 1.1.2.3 +++ translatable.node.inc 9 Apr 2008 19:26:10 -0000 @@ -26,7 +26,11 @@ function translatable_node_menu($may_cac 'weight' => 3, ); if (arg(2) == 'edit' && arg(3) == '' && $node->tnid != $node->nid) { - drupal_goto('node/'. $node->tnid .'/edit/translation/'. $node->language); + // An existing destination url would override our path, pass it + // through instead. + $destination = isset($_REQUEST['destination']) ? 'destination='. urlencode($_REQUEST['destination']) : NULL; + unset($_REQUEST['destination']); + drupal_goto('node/'. $node->tnid .'/edit/translation/'. $node->language, $destination); } if (arg(3) == 'translation' && translatable_validate_locale(arg(4))) { $items[] = array(