--- loncom/interface/lonhtmlcommon.pm 2004/11/23 16:04:33 1.99
+++ loncom/interface/lonhtmlcommon.pm 2004/12/02 00:01:34 1.102
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.99 2004/11/23 16:04:33 matthew Exp $
+# $Id: lonhtmlcommon.pm,v 1.102 2004/12/02 00:01:34 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -899,6 +899,10 @@ sub crumbs {
if (! defined($size)) {
$size = '+2';
}
+ if ($target) {
+ $target = ' target="'.
+ &Apache::loncommon::escape_single($target).'"';
+ }
my $output='';
unless ($noformat) { $output.='
'; }
$output.=''.$prefix.'/';
@@ -913,10 +917,6 @@ sub crumbs {
$linkpath=
qq{javascript:$form.action='$linkpath';$form.submit();};
}
- if ($target) {
- $target = ' target="'.
- &Apache::loncommon::escape_single($target).'"';
- }
$output.=qq{$dir/};
}
} else {