javascript fix

This commit is contained in:
SJ 2013-04-18 16:31:30 +02:00
parent 4521245b17
commit e118705551

View File

@ -221,7 +221,7 @@ var Piler =
view_message_by_pos:function(pos) view_message_by_pos:function(pos)
{ {
Piler.log("[view_message]", pos, Piler.Messages[pos]); Piler.log("[view_message_by_pos]", pos, Piler.Messages[pos]);
if(pos == -1) return false; if(pos == -1) return false;
@ -229,8 +229,6 @@ var Piler =
Piler.pos = pos; Piler.pos = pos;
Piler.log("[view_message]", id);
if(Piler.prev_message_id > 0) { $('#e_' + Piler.prev_message_id).attr('class', 'resultrow'); } if(Piler.prev_message_id > 0) { $('#e_' + Piler.prev_message_id).attr('class', 'resultrow'); }
$('#e_' + id).attr('class', 'resultrow selected'); $('#e_' + id).attr('class', 'resultrow selected');