--- loncom/interface/lonhtmlcommon.pm 2010/11/08 23:27:58 1.253.2.5
+++ loncom/interface/lonhtmlcommon.pm 2009/12/22 06:02:44 1.256
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.253.2.5 2010/11/08 23:27:58 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.256 2009/12/22 06:02:44 faziophi Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1241,11 +1241,18 @@ ENDLINK
}
sub htmlareaheaders {
- return if (&htmlareablocked());
- return if (!&htmlareabrowser());
- return (<
-ENDHEADERS
+
+ENDEDITOR
+ }
+ $s.=(<
+
+ENDJQUERY
+ return $s;
}
# ----------------------------------------------------------------- Preferences
@@ -1284,16 +1291,98 @@ sub htmlareaselectactive {
my $output='