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

bisitz bisitz@source.lon-capa.org
Tue, 04 May 2010 17:16:34 -0000


bisitz		Tue May  4 17:16:34 2010 EDT

  Modified files:              
    /loncom/interface	lonsearchcat.pm 
  Log:
  Bugfix - Make resource import in course work again when using the search in the course editor:
  Corrected XHTML conformity changes in rev. 1.309 - don't escape "&" in JavaScript code.
  
  
  
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.322 loncom/interface/lonsearchcat.pm:1.323
--- loncom/interface/lonsearchcat.pm:1.322	Tue May  4 15:21:26 2010
+++ loncom/interface/lonsearchcat.pm	Tue May  4 17:16:34 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.322 2010/05/04 15:21:26 droeschl Exp $
+# $Id: lonsearchcat.pm,v 1.323 2010/05/04 17:16:34 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2296,8 +2296,8 @@
 // <![CDATA[
     function change_sort() {
         var newloc = "/adm/searchcat?phase=results";
-        newloc += "&amp;persistent_db_id=$env{'form.persistent_db_id'}";
-        newloc += "&amp;sortby=";
+        newloc += "&persistent_db_id=$env{'form.persistent_db_id'}";
+        newloc += "&sortby=";
         newloc += document.forms.statusform.elements.sortby.value;
         parent.resultsframe.location= newloc;
     }
@@ -3357,7 +3357,7 @@
     }
     function select_group() {
 	parent.window.location=
-    "/adm/groupsort?mode=$env{'form.mode'}&amp;catalogmode=import$inhibit_menu&amp;acts="+
+    "/adm/groupsort?mode=$env{'form.mode'}&catalogmode=import$inhibit_menu&acts="+
 	    parent.statusframe.document.forms.statusform.elements.acts.value;
     }
 // ]]>