Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv31077
Modified Files:
Searcher.js.jsp
Log Message:
the tr's did not properly reset
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.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- Searcher.js.jsp 27 Nov 2008 13:10:20 -0000 1.55
+++ Searcher.js.jsp 27 Nov 2008 13:23:32 -0000 1.56
@@ -19,7 +19,7 @@
* - mmsrCommitted (use $("div.mm_related").bind("mmsrCommitted",
function (e, submitter, status, relater) ) )
*
* @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.55 2008/11/27 13:10:20 andre Exp $
+ * @version $Id: Searcher.js.jsp,v 1.56 2008/11/27 13:23:32 andre Exp $
*/
@@ -781,12 +781,10 @@
MMBaseSearcher.prototype.resetTrClasses = function() {
this.logger.debug("Resetting tr's");
- var i = 0;
- $(this.div).find("div.searchresult table tbody tr").each(function() {
+ $(this.div).find("div.searchresult table tbody tr").each(function(i) {
$(this).removeClass("odd");
$(this).removeClass("even");
$(this).addClass(i % 2 == 0 ? "even" : "odd");
- i++;
});
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs