[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /xml scripttag.pm
From:       www <lon-capa-cvs () mail ! lon-capa ! org>
Date:       2004-09-28 20:40:05
Message-ID: cvswww1096404005 () cvsserver
[Download RAW message or body]

www		Tue Sep 28 16:40:05 2004 EDT

  Modified files:              
    /loncom/xml	scripttag.pm 
  Log:
  Rolling back to 1.115, but Bug #3449 remains: opens additional window on
  Safari.
  
  
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.116 loncom/xml/scripttag.pm:1.117
--- loncom/xml/scripttag.pm:1.116	Mon Sep 27 16:59:21 2004
+++ loncom/xml/scripttag.pm	Tue Sep 28 16:40:05 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # <script> definiton
 #
-# $Id: scripttag.pm,v 1.116 2004/09/27 20:59:21 www Exp $
+# $Id: scripttag.pm,v 1.117 2004/09/28 20:40:05 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -26,7 +26,6 @@
 # http://www.lon-capa.org/
 #
 
-
 package Apache::scripttag;
 
 use strict;
@@ -118,8 +117,7 @@
 	    ($Apache::lonhomework::viewgrades == 'F')) {
 	    $Apache::lonxml::evaluate--;
 	    my (undef,undef,$udom,$uname)=&Apache::lonxml::whichuser();
-	    my $nothing= &Apache::lonhtmlcommon::javascript_nothing();
-	    $result.="<script type=\"text/javascript\"> function \
LONCAPA_scriptvars_".$uname."_".$udom."_"."$Apache::lonxml::curdepth() \
{newWindow=open('','new_W','width=500,height=500,scrollbars=1,resizable=yes');newWindo \
w.document.open($nothing,'replace');newWindow.document.writeln('<html><head><title>Script \
Vars</title></head><body bgcolor=\"#FFFFFF\"><pre>"; +	    $result.="<script \
type=\"text/javascript\"> function \
LONCAPA_scriptvars_".$uname."_".$udom."_"."$Apache::lonxml::curdepth() \
{newWindow=open('','new_W','width=500,height=500,scrollbars=1,resizable=yes');newWindo \
w.document.open('text/html','replace');newWindow.document.writeln('<html><head><title>Script \
Vars</title></head><body bgcolor=\"#FFFFFF\"><pre>";  my \
$listing=&Apache::run::dump($target,$safeeval);  $listing=~s/\'/\\\'/g;
 	    $listing=~s/\n/\\n/g;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic