[LON-CAPA-cvs] cvs: loncom /homework grades.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 27 Jul 2004 15:14:52 -0000
albertel Tue Jul 27 11:14:52 2004 EDT
Modified files:
/loncom/homework grades.pm
Log:
-BUG#3027 let the message windows be resizable
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.205 loncom/homework/grades.pm:1.206
--- loncom/homework/grades.pm:1.205 Fri Jul 16 15:50:23 2004
+++ loncom/homework/grades.pm Tue Jul 27 11:14:52 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.205 2004/07/16 19:50:23 matthew Exp $
+# $Id: grades.pm,v 1.206 2004/07/27 15:14:52 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1093,7 +1093,7 @@
var ypos = (screen.height-height)/2-30;
ypos = (ypos < 0) ? '0' : ypos;
- pWin = window.open('', 'MessageCenter', '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=600,height='+height);
pWin.focus();
pDoc = pWin.document;
pDoc.open('text/html','replace');
@@ -1224,7 +1224,7 @@
var ypos = (screen.height-330)/2-30;
ypos = (ypos < 0) ? '0' : ypos;
- hwdWin = window.open('', 'KeywordHighlightCentral', 'toolbar=no,location=no,scrollbars=no,width=400,height=300,screenx='+xpos+',screeny='+ypos);
+ hwdWin = window.open('', 'KeywordHighlightCentral', 'resizeable=yes,toolbar=no,location=no,scrollbars=no,width=400,height=300,screenx='+xpos+',screeny='+ypos);
hwdWin.focus();
var hDoc = hwdWin.document;
hDoc.open('text/html','replace');