[LON-CAPA-cvs] cvs: loncom /interface lonsearchcat.pm
www
lon-capa-cvs@mail.lon-capa.org
Thu, 29 Jun 2006 19:25:41 -0000
www Thu Jun 29 15:25:41 2006 EDT
Modified files:
/loncom/interface lonsearchcat.pm
Log:
Bug #4857: Apparently, one cannot have targets on links that trigger submit
forms with targets, even if they are the same. Oh well, no more extra window
when going from Search to RES.
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.271 loncom/interface/lonsearchcat.pm:1.272
--- loncom/interface/lonsearchcat.pm:1.271 Thu Jun 29 12:08:43 2006
+++ loncom/interface/lonsearchcat.pm Thu Jun 29 15:25:40 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Catalog
#
-# $Id: lonsearchcat.pm,v 1.271 2006/06/29 16:08:43 albertel Exp $
+# $Id: lonsearchcat.pm,v 1.272 2006/06/29 19:25:40 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3341,7 +3341,7 @@
my $jumpurl=$values{'url'};
$jumpurl=~s/^\/ext\//http\:\/\//;
my $link=&Apache::lonhtmlcommon::crumbs($jumpurl,
- (($env{'form.catalogmode'} eq 'import')?'_top':'preview'),
+ (($env{'form.catalogmode'} eq 'import')?'':'preview'),
'',
(($env{'form.catalogmode'} eq 'import')?'parent.statusframe.document.forms.statusform':''),2,0,1);