[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /interface lonindexer.pm

raeburn raeburn@source.lon-capa.org
Wed, 14 Apr 2010 16:11:35 -0000


raeburn		Wed Apr 14 16:11:35 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	lonindexer.pm 
  Log:
  - Backport 1.206.
  
  
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.181.4.5 loncom/interface/lonindexer.pm:1.181.4.6
--- loncom/interface/lonindexer.pm:1.181.4.5	Wed Mar 31 00:41:44 2010
+++ loncom/interface/lonindexer.pm	Wed Apr 14 16:11:34 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.181.4.5 2010/03/31 00:41:44 raeburn Exp $
+# $Id: lonindexer.pm,v 1.181.4.6 2010/04/14 16:11:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -319,10 +319,8 @@
 
 function changeURL(val) {
     if (window.opener.document) {
-        var elementname  = "$element"+"_value";
-        var checkboxname = "$element"+"_setparmval";
+        var elementname  = "$element";
 	window.opener.document.forms["$form"].elements[elementname].value=val;
-        window.opener.document.forms["$form"].elements[checkboxname].checked=true;
     } else {
 	    alert("The file you selected is: "+val);
     }