[LON-CAPA-cvs] cvs: loncom /homework edit.pm
bisitz
bisitz at source.lon-capa.org
Tue Aug 9 12:12:21 EDT 2011
bisitz Tue Aug 9 16:12:21 2011 EDT
Modified files:
/loncom/homework edit.pm
Log:
Improve edit.pm 1.91:
Make textareas in the colorful editor fit in the colored tables, not overlap.
(tested with Win 7 Pro. FF 4.0.1, Win 7 Pro. IE 9, Ubuntu 10.04 FF 3.6.18, Ubuntu 10.04 Opera 10.63)
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.134 loncom/homework/edit.pm:1.135
--- loncom/homework/edit.pm:1.134 Sun Feb 6 18:43:10 2011
+++ loncom/homework/edit.pm Tue Aug 9 16:12:21 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.134 2011/02/06 18:43:10 www Exp $
+# $Id: edit.pm,v 1.135 2011/08/09 16:12:21 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -794,7 +794,7 @@
# to make the edit look prettier
$data =~ s/\n?[ \t]*$//;
- return $description."\n".'<textarea style="width:100%" rows="'.$rows.
+ return $description."\n".'<textarea style="width:99%" rows="'.$rows.
'" cols="'.$cols.'" name="homework_edit_'.
$Apache::lonxml::curdepth.'" id="homework_edit_'.
$Apache::lonxml::curdepth.'" '.&element_change_detection().
More information about the LON-CAPA-cvs
mailing list