thomascube
2008-02-08 320e15b32fc65b18cf571c3f25902482f0ec6eeb
Don't unselect and re-select a list row

1 files modified
5 ■■■■ changed files
program/js/list.js 5 ●●●● patch | view | raw | blame | history
program/js/list.js
@@ -503,9 +503,12 @@
{
  if (this.rows[id] && !multiple)
  {
    if (!this.in_selection(id))
    {
    this.clear_selection();
    this.selection[0] = id;
    this.set_classname(this.rows[id].obj, 'selected', true)
      this.set_classname(this.rows[id].obj, 'selected', true);
    }
  }
  else if (this.rows[id])
  {