[LON-CAPA-cvs] cvs: rat / lonwrapper.pm

raeburn raeburn at source.lon-capa.org
Tue Jan 14 09:26:39 EST 2020


raeburn		Tue Jan 14 14:26:39 2020 EDT

  Modified files:              
    /rat	lonwrapper.pm 
  Log:
  - Removing trailing whitespace.
  
  
Index: rat/lonwrapper.pm
diff -u rat/lonwrapper.pm:1.69 rat/lonwrapper.pm:1.70
--- rat/lonwrapper.pm:1.69	Thu May  2 02:12:31 2019
+++ rat/lonwrapper.pm	Tue Jan 14 14:26:39 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Wrapper for external and binary files as standalone resources
 #
-# $Id: lonwrapper.pm,v 1.69 2019/05/02 02:12:31 raeburn Exp $
+# $Id: lonwrapper.pm,v 1.70 2020/01/14 14:26:39 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -167,9 +167,9 @@
                 $output .= <<"ENDLINK";
 <script type="text/javascript">
 // <![CDATA[
-var windowObjectReference = null; 
-var PreviousUrl; 
-                           
+var windowObjectReference = null;
+var PreviousUrl;
+
 function openSinglePopup(strUrl) {
     if (windowObjectReference == null || windowObjectReference.closed) {
         windowObjectReference = window.open(strUrl, "LCExternalToolPopUp",
@@ -294,7 +294,7 @@
         s|^/adm/wrapper||;
         $is_ext = $_ =~ s|^/ext/|http://|;         
         s|http://https://|https://|;
-        s|:|:|g;              
+        s|:|:|g;
     }
 
     if ($url =~ /\.pdf$/i) {
@@ -318,10 +318,10 @@
             $width = $toolhash{'width'};
             $height = $toolhash{'height'};
         } elsif ($toolhash{'target'} eq 'tab') {
-            $exttool = 'tab'; 
+            $exttool = 'tab';
         }
         if (($exttool eq 'window') || ($exttool eq 'tab')) {
-            $linktext = $toolhash{'linktext'}; 
+            $linktext = $toolhash{'linktext'};
             $explanation = $toolhash{'explanation'};
         } elsif (($exttoolremote =~ /^http:/) && ($ENV{'SERVER_PORT'} == 443)) {
             $exttool = 'tab';




More information about the LON-CAPA-cvs mailing list