[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 19 Jul 2006 20:32:24 -0000


albertel		Wed Jul 19 16:32:24 2006 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - bug#4923, publish HTML file was failing when viewing it (missing forms not included)
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.329 loncom/xml/londefdef.pm:1.330
--- loncom/xml/londefdef.pm:1.329	Wed May 17 18:08:08 2006
+++ loncom/xml/londefdef.pm	Wed Jul 19 16:32:23 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.329 2006/05/17 22:08:08 albertel Exp $
+# $Id: londefdef.pm,v 1.330 2006/07/19 20:32:23 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -533,6 +533,7 @@
 					    'force_register' => 1});
 
 	if ($env{'request.state'} ne 'published') {
+	    $currentstring.=&Apache::lonmenu::constspaceform();
 	    $currentstring.=(<<EDITBUTTON);
 <form method="post">
 <input type="submit" name="editmode" accesskey="e" value="Edit" />