[LON-CAPA-cvs] cvs: loncom /homework grades.pm
bisitz
bisitz@source.lon-capa.org
Wed, 06 Apr 2011 13:50:38 -0000
bisitz Wed Apr 6 13:50:38 2011 EDT
Modified files:
/loncom/homework grades.pm
Log:
Increase the width of the popup window in manual grading (message to student) to avoid hiding the right border of the textarea. Window found to be to small in Firefox 3.6 and 4.0
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.646 loncom/homework/grades.pm:1.647
--- loncom/homework/grades.pm:1.646 Thu Mar 31 17:58:25 2011
+++ loncom/homework/grades.pm Wed Apr 6 13:50:38 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.646 2011/03/31 17:58:25 raeburn Exp $
+# $Id: grades.pm,v 1.647 2011/04/06 13:50:38 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1512,7 +1512,7 @@
var ypos = (screen.height-height)/2-30;
ypos = (ypos < 0) ? '0' : ypos;
- pWin = window.open('', 'MessageCenter', 'resizable=yes,toolbar=no,location=no,scrollbars='+scrollbar+',screenx='+xpos+',screeny='+ypos+',width=600,height='+height);
+ pWin = window.open('', 'MessageCenter', 'resizable=yes,toolbar=no,location=no,scrollbars='+scrollbar+',screenx='+xpos+',screeny='+ypos+',width=700,height='+height);
pWin.focus();
pDoc = pWin.document;
pDoc.$docopen;