Don't unselect and re-select a list row

release-0.6
thomascube 17 years ago
parent b89d5a816b
commit 320e15b32f

@ -503,9 +503,12 @@ highlight_row: function(id, multiple)
{
if (this.rows[id] && !multiple)
{
this.clear_selection();
this.selection[0] = id;
this.set_classname(this.rows[id].obj, 'selected', true)
if (!this.in_selection(id))
{
this.clear_selection();
this.selection[0] = id;
this.set_classname(this.rows[id].obj, 'selected', true);
}
}
else if (this.rows[id])
{

Loading…
Cancel
Save