--- loncom/interface/lonhtmlcommon.pm 2007/09/05 05:00:24 1.161
+++ loncom/interface/lonhtmlcommon.pm 2007/09/14 23:24:18 1.162
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.161 2007/09/05 05:00:24 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.162 2007/09/14 23:24:18 banghart Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1006,7 +1006,12 @@ sub crumbs {
}
my $href_path = &HTML::Entities::encode($path,'<>&"');
&Apache::loncommon::inhibit_menu_check(\$href_path);
- $output.=qq{$dir/};
+ if ($form) {
+ my $href = 'javascript:'.$form.".action='".$href_path."';".$form.'.submit();';
+ $output.=qq{$dir/};
+ } else {
+ $output.=qq{$dir/};
+ }
}
} else {
foreach my $dir (split('/',$uri)) {