From 670209ba5390a3ce7d199315b1c8bebb777fedb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 23 Nov 2010 10:30:13 +0100 Subject: [PATCH] Add initialisation. --- js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/functions.js b/js/functions.js index d29c42108f..ef0cf1f63e 100644 --- a/js/functions.js +++ b/js/functions.js @@ -520,7 +520,7 @@ function showDetails(i, update_size, insert_size, remove_size, insert_index, rem } } //The table row css is being adjusted. Class "odd" for odd rows and "even" for even rows should be maintained. - for(index; index < table_rows.length; index++) + for(index = 0; index < table_rows.length; index++) { row_class_element = table_rows[index].getAttribute('class'); if (row_class_element == "even") {