[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonsearchcat.pm

raeburn raeburn at source.lon-capa.org
Wed Nov 9 17:32:42 EST 2016


raeburn		Wed Nov  9 22:32:42 2016 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonsearchcat.pm 
  Log:
  - For 2.11
    - Fix 1.331.4.12 backport of 1.347 and 1.349
  
  
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.331.4.13 loncom/interface/lonsearchcat.pm:1.331.4.14
--- loncom/interface/lonsearchcat.pm:1.331.4.13	Wed Nov  9 19:37:39 2016
+++ loncom/interface/lonsearchcat.pm	Wed Nov  9 22:32:42 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.331.4.13 2016/11/09 19:37:39 raeburn Exp $
+# $Id: lonsearchcat.pm,v 1.331.4.14 2016/11/09 22:32:42 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3582,13 +3582,8 @@
                   $url,
                   'preview',
                   '',
-                  (($env{'form.catalogmode'} eq 'import')?'parent.statusframe.document.forms.statusform':''),
+                  '',
                   $skiplast,$onclick).' ';
-        # replace the links to open in a new window
-        # (because the search opens in a new window, it gets
-        # confusing when the links open a tab in the
-        # parent window; ideally we should not force windows)
-        $link =~ s/(href="[^"]*")/\1 onclick="window.open(this.href, '_blank', 'toolbar=1,location=1,menubar=0');return false;"/g;
     }
     return $link;
 }




More information about the LON-CAPA-cvs mailing list