Improve formatting

This commit is contained in:
Marc Delisle
2011-03-07 08:34:56 -05:00
parent db276b0657
commit 896a6e0883

View File

@@ -441,7 +441,7 @@ $(document).ready(function() {
for(var i = 4; i < last_column; i++){ for(var i = 4; i < last_column; i++){
if($this_hide.siblings("td:eq(" + i + ")").children('a:eq(0)').length ){ if($this_hide.siblings("td:eq(" + i + ")").children('a:eq(0)').length ){
blob_index[k] = i; blob_index[k] = i;
k=k+1; k++;
continue; continue;
} }
txt[i - 4] = $this_hide.siblings("td:eq(" + i + ")").children(' .original_data').html(); txt[i - 4] = $this_hide.siblings("td:eq(" + i + ")").children(' .original_data').html();
@@ -449,7 +449,7 @@ $(document).ready(function() {
k = 0; k = 0;
for (var i = 4; i < last_column; i++){ for (var i = 4; i < last_column; i++){
if ( blob_index[k] == i){ if ( blob_index[k] == i){
k=k+1; k++;
continue; continue;
} }
if($this_hide.siblings("td:eq(" + i + ")").children().length !=0){ if($this_hide.siblings("td:eq(" + i + ")").children().length !=0){
@@ -490,7 +490,7 @@ $(document).ready(function() {
for( var i = 6; i <= rows + 2; i++){ for( var i = 6; i <= rows + 2; i++){
if( $this_row.siblings("tr:eq(" + i + ") td:eq(" + pos + ") a:eq(0)").length !=0 ){ if( $this_row.siblings("tr:eq(" + i + ") td:eq(" + pos + ") a:eq(0)").length !=0 ){
blob_index[k] = i; blob_index[k] = i;
k=k+1; k++;
continue; continue;
} }
txt[i - 6] = $this_row.siblings("tr:eq(" + i + ") td:eq("+pos+") span.original_data").html(); txt[i - 6] = $this_row.siblings("tr:eq(" + i + ") td:eq("+pos+") span.original_data").html();
@@ -498,7 +498,7 @@ $(document).ready(function() {
k = 0; k = 0;
for (var i = 6; i <= rows + 2; i++){ for (var i = 6; i <= rows + 2; i++){
if(blob_index[k] == i){ if(blob_index[k] == i){
k=k+1; k++;
continue; continue;
} }
$this_row.siblings("tr:eq("+i+") td:eq("+pos+")").empty(); $this_row.siblings("tr:eq("+i+") td:eq("+pos+")").empty();