[LON-CAPA-cvs] cvs: loncom /interface lonhelper.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 22 Apr 2004 16:47:27 -0000


albertel		Thu Apr 22 12:47:27 2004 EDT

  Modified files:              
    /loncom/interface	lonhelper.pm 
  Log:
  - removing the copy/pasted Javascript code
  
  
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.74 loncom/interface/lonhelper.pm:1.75
--- loncom/interface/lonhelper.pm:1.74	Thu Apr 22 10:43:16 2004
+++ loncom/interface/lonhelper.pm	Thu Apr 22 12:47:26 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # .helper XML handler to implement the LON-CAPA helper
 #
-# $Id: lonhelper.pm,v 1.74 2004/04/22 14:43:16 matthew Exp $
+# $Id: lonhelper.pm,v 1.75 2004/04/22 16:47:26 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -585,30 +585,6 @@
 
     $result .= <<HEADER;
 <html>
-<script type="text/javascript" language="Javascript" >
-    var editbrowser;
-    function openbrowser(formname,elementname,only,omit) {
-        var url = '/res/?';
-        if (editbrowser == null) {
-            url += 'launch=1&';
-        }
-        url += 'catalogmode=interactive&';
-        url += 'mode=parmset&';
-        url += 'form=' + formname + '&';
-        if (only != null) {
-            url += 'only=' + only + '&';
-        } 
-        if (omit != null) {
-            url += 'omit=' + omit + '&';
-        }
-        url += 'element=' + elementname + '';
-        var title = 'Browser';
-        var options = 'scrollbars=1,resizable=1,menubar=0';
-        options += ',width=700,height=600';
-        editbrowser = open(url,title,options,'1');
-        editbrowser.focus();
-    }
-</script>
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
         <title>$loncapaHelper: $helperTitle</title>