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

faziophi faziophi@source.lon-capa.org
Wed, 10 Mar 2010 20:26:09 -0000


faziophi		Wed Mar 10 20:26:09 2010 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  Removes "Disable WYSIWYG Editor" and removes the commented-out line to "Enable WYSIWG Editor" since this preference is no longer respected on a global basis.  This should also be removed from the Main Menu...
  
  bz 6235
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.266 loncom/interface/lonhtmlcommon.pm:1.267
--- loncom/interface/lonhtmlcommon.pm:1.266	Fri Feb 19 10:19:33 2010
+++ loncom/interface/lonhtmlcommon.pm	Wed Mar 10 20:26:09 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.266 2010/02/19 10:19:33 bisitz Exp $
+# $Id: lonhtmlcommon.pm,v 1.267 2010/03/10 20:26:09 faziophi Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1283,7 +1283,6 @@
 sub htmlareaselectactive {
     my @fields=@_;
     unless (&htmlareabrowser()) { return ''; }
-    #if (&htmlareablocked()) { return '<br />'.&enablelink(@fields); }
     my $output='<script type="text/javascript" defer="defer">'."\n"
               .'// <![CDATA['."\n";
     my $lang = &htmlarea_lang();
@@ -1358,7 +1357,6 @@
     $output.="\nwindow.status='Activated Editfields';\n"
             .'// ]]>'."\n"
             .'</script><br />'.
-	&disablelink(@fields);
     return $output;
 }