[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 03 Oct 2006 20:14:35 -0000


albertel		Tue Oct  3 16:14:35 2006 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - htmlarea appears to lock up IE if loaded in a frameset
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.460 loncom/interface/loncommon.pm:1.461
--- loncom/interface/loncommon.pm:1.460	Wed Sep 27 18:42:05 2006
+++ loncom/interface/loncommon.pm	Tue Oct  3 16:14:35 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.460 2006/09/27 22:42:05 albertel Exp $
+# $Id: loncommon.pm,v 1.461 2006/10/03 20:14:35 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3748,9 +3748,11 @@
 
     my $result =
 	'<head>'.
-	&font_settings().
-	&Apache::lonhtmlcommon::htmlareaheaders();
+	&font_settings();
 
+    if (!$args->{'frameset'}) {
+	$result .= &Apache::lonhtmlcommon::htmlareaheaders();
+    }
     if ($args->{'force_register'}) {
 	$result .= &Apache::lonmenu::registerurl(1);
     }