--- rat/lonratedt.pm 2002/05/23 10:19:30 1.28 +++ rat/lonratedt.pm 2002/05/25 18:50:46 1.29 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.28 2002/05/23 10:19:30 www Exp $ +# $Id: lonratedt.pm,v 1.29 2002/05/25 18:50:46 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -540,7 +540,9 @@ sub smpedt { # ------------------------------------------------------------ Assemble windows my $idx=-1; - my $importwindow=join("\n",map { + my $importwindow= + ''. + join("\n",map { $idx++; if ($_) { my ($name,$url)=split(/\=/,$_); @@ -552,7 +554,9 @@ sub smpedt { } split(/\&/,$importdetail)); $idx=0; - my $targetwindow=join("\n",map { + my $targetwindow= + ''. + join("\n",map { my ($name,$url)=split(/\:/,$resources[$_]); unless ($name) { $name=(split(/\//,$url))[-1]; } unless ($name) { $name='EMPTY'; } @@ -693,6 +697,7 @@ function idxcheck(mode) {
$buttons $errtext +