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

Modified Files:
        Searcher.js.jsp node.tr.jspx 
Log Message:
details


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.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- Searcher.js.jsp     21 Apr 2008 11:11:10 -0000      1.12
+++ Searcher.js.jsp     21 Apr 2008 12:17:11 -0000      1.13
@@ -11,7 +11,7 @@
 
  *
  * @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.12 2008/04/21 11:11:10 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.13 2008/04/21 12:17:11 michiel Exp $
  */
 
 $(document).ready(function(){
@@ -26,7 +26,7 @@
  *
  */
 function MMBaseLogger(area) {
-    this.logEnabled   = false;
+    this.logEnabled   = true;
     /*this.traceEnabled = false;*/
     this.logarea      = area;
 }
@@ -349,8 +349,9 @@
 MMBaseSearcher.prototype.search = function(val, offset) {
     if (val.tagName == "FORM") {
        val = $(val).find("input").val();
+    } else {
+       $(this.div).find("form.searchform input").val(val);
     }
-
     var newSearch = val;
     if (newSearch != this.value) {
        this.searchResults = {};
@@ -369,7 +370,7 @@
                complete: function(res, status){
                    if ( status == "success" || status == "notmodified" ) {
                        result = res.responseText;
-                       self.logger.debug(rep);
+                       self.logger.debug(result);
                        $(rep).empty();
                        $(rep).append($(result).find("> *"));
                        self.searchResults["" + offset] = result;


Index: node.tr.jspx
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/node.tr.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- node.tr.jspx        14 Apr 2008 15:45:15 -0000      1.1
+++ node.tr.jspx        21 Apr 2008 12:17:11 -0000      1.2
@@ -2,6 +2,7 @@
     xmlns:jsp="http://java.sun.com/JSP/Page";
     xmlns:c="http://java.sun.com/jsp/jstl/core";
     xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";>
+  <mm:content expires="0">
   <mm:cloud>
 
     <mm:import externid="status" from="request" />
@@ -21,4 +22,5 @@
       </tr>
     </mm:node>
   </mm:cloud>
+  </mm:content>
 </jsp:root>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to