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

Modified Files:
        Searcher.js.jsp 
Log Message:
some fixes for [EMAIL PROTECTED]&$*(&*(@$#-e IE


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.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- Searcher.js.jsp     7 Jul 2008 16:46:38 -0000       1.26
+++ Searcher.js.jsp     8 Jul 2008 12:33:34 -0000       1.27
@@ -13,7 +13,7 @@
 
  *
  * @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.26 2008/07/07 16:46:38 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.27 2008/07/08 12:33:34 michiel Exp $
  */
 
 $(document).ready(function(){
@@ -226,7 +226,7 @@
 }
 
 MMBaseRelater.prototype.getNumber = function(tr) {
-    return  $(tr).find("td.node.number")[0].textContent;
+    return  $(tr).find("td.node.number").text();
 }
 
 
@@ -461,10 +461,10 @@
     var span = $(this.div).find("caption span.size")[0];
     if (size == null) {
        if (this.totalsize == -1) {
-           this.totalsize = span == null ? 0 : parseInt(span.textContent);
+           this.totalsize = span == null ? 0 : parseInt($(span).text());
        }
     } else {
-       if (span != null) span.textContent = size;
+       if (span != null) $(span).text(size);
        this.totalsize = size;
     }
     return this.totalsize;
@@ -475,10 +475,10 @@
     if (span == null) return;
     if (size == null) {
        if (this.last == -1) {
-           this.last = parseInt(span.textContent);
+           this.last = parseInt($(span).text());
        }
     } else {
-       span.textContent = size;
+       $(span).text(size);
        this.last = size;
     }
     return this.last;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to