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

Modified Files:
        Searcher.js.jsp 
Log Message:
made xhtml compliant


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.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- Searcher.js.jsp     21 Apr 2008 12:17:11 -0000      1.13
+++ Searcher.js.jsp     21 Apr 2008 12:21:44 -0000      1.14
@@ -11,7 +11,7 @@
 
  *
  * @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.13 2008/04/21 12:17:11 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.14 2008/04/21 12:21:44 michiel Exp $
  */
 
 $(document).ready(function(){
@@ -26,7 +26,7 @@
  *
  */
 function MMBaseLogger(area) {
-    this.logEnabled   = true;
+    this.logEnabled   = false;
     /*this.traceEnabled = false;*/
     this.logarea      = area;
 }
@@ -347,7 +347,7 @@
  * The actual query is supposed to be on the user's session, and will be 
picked up in page.jspx.
  */
 MMBaseSearcher.prototype.search = function(val, offset) {
-    if (val.tagName == "FORM") {
+    if (val.tagName.toUpperCase() == "FORM") {
        val = $(val).find("input").val();
     } else {
        $(this.div).find("form.searchform input").val(val);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to