--- loncom/xml/londefdef.pm	2009/06/02 13:10:29	1.410
+++ loncom/xml/londefdef.pm	2009/10/01 15:31:24	1.411
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.410 2009/06/02 13:10:29 bisitz Exp $
+# $Id: londefdef.pm,v 1.411 2009/10/01 15:31:24 bisitz Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -564,9 +564,12 @@ sub start_body {
     $currentstring .= &Apache::lonhtmlcommon::breadcrumbs();
 
         my $header = '';
+        if ($env{'request.state'} ne 'published' &&
+            $env{'request.state'} ne 'construct') {
+            $header=&Apache::lonmenu::constspaceform();
+        }
         if ($env{'request.state'} ne 'published') {
-            $header=&Apache::lonmenu::constspaceform()
-                   .&Apache::londefdef::edit_controls();
+            $header.=&Apache::londefdef::edit_controls();
         }
         if ($env{'request.state'} eq 'construct') {
             $currentstring.=&Apache::loncommon::head_subbox(