Index: modules/overlay/overlay-parent.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/overlay/overlay-parent.js,v
retrieving revision 1.24
diff -u -p -r1.24 overlay-parent.js
--- modules/overlay/overlay-parent.js	30 Jan 2010 07:59:25 -0000	1.24
+++ modules/overlay/overlay-parent.js	2 Feb 2010 01:53:47 -0000
@@ -694,8 +694,8 @@ Drupal.overlay.clickHandler = function (
   // Only continue if link has an href attribute and is not just linking to
   // an anchor.
   if (href != undefined && href != '' && href.charAt(0) != '#') {
-    // Open admin links in the overlay.
-    if (self.isAdminLink(href)) {
+    // Open admin links in the overlay if not already in an admin page.
+    if (self.isAdminLink(href) && !self.isAdminLink(self.getPath(window.location))) {
       href = self.fragmentizeLink($target.get(0));
       // Only override default behavior when left-clicking and user is not
       // pressing the ALT, CTRL, META (Command key on the Macintosh keyboard)
