Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv17531

Modified Files:
        Searcher.js.jsp 
Log Message:
switched on caching again


See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates


Index: Searcher.js.jsp
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/Searcher.js.jsp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- Searcher.js.jsp     21 Apr 2008 17:40:32 -0000      1.15
+++ Searcher.js.jsp     22 Apr 2008 07:56:16 -0000      1.16
@@ -11,7 +11,7 @@
 
  *
  * @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.15 2008/04/21 17:40:32 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.16 2008/04/22 07:56:16 michiel Exp $
  */
 
 $(document).ready(function(){
@@ -398,7 +398,8 @@
     }
     this.offset = offset;
 
-    var rep = this.getResultDiv();    var params = {id: this.getQueryId(), 
offset: offset, search: "" + this.value, pagesize: this.pagesize, maxpages: 
this.maxpages};
+    var rep = this.getResultDiv();
+    var params = {id: this.getQueryId(), offset: offset, search: "" + 
this.value, pagesize: this.pagesize, maxpages: this.maxpages};
 
     var result = this.searchResults["" + offset];
 
@@ -413,7 +414,7 @@
                        $(rep).empty();
                        //console.log($(result).find("*").length);
                        $(rep).append($(result).find("> *"));
-                       //self.searchResults["" + offset] = result;
+                       self.searchResults["" + offset] = result;
                        self.addNewlyRelated(rep);
                        self.deleteNewlyRemoved(rep);
                        self.bindEvents(rep);
@@ -426,7 +427,7 @@
        this.logger.debug("reusing " + offset);
        this.logger.debug(rep);
        var self = this;
-       $(rep).append($(result).find("*"));
+       $(rep).append($(result).find("> *"));
        this.addNewlyRelated(rep);
        self.deleteNewlyRemoved(rep);
        this.bindEvents(rep);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to