#1484942: Clear selection when selecting single item

release-0.6
alecpl 16 years ago
parent 6cb7786912
commit 4672dec8e1

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

Loading…
Cancel
Save