[LON-CAPA-cvs] cvs: loncom /interface lonindexer.pm
raeburn
raeburn@source.lon-capa.org
Wed, 31 Mar 2010 13:20:46 -0000
raeburn Wed Mar 31 13:20:46 2010 EDT
Modified files:
/loncom/interface lonindexer.pm
Log:
- Fix bug 6231.
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.205 loncom/interface/lonindexer.pm:1.206
--- loncom/interface/lonindexer.pm:1.205 Mon Mar 29 23:25:16 2010
+++ loncom/interface/lonindexer.pm Wed Mar 31 13:20:46 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.205 2010/03/29 23:25:16 raeburn Exp $
+# $Id: lonindexer.pm,v 1.206 2010/03/31 13:20:46 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -321,10 +321,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);
}