alecpl
2008-04-03 4672dec8e10af19147b4175630c095c46f97107c
#1484942: Clear selection when selecting single item


1 files modified
3 ■■■■■ changed files
program/js/list.js 3 ●●●●● patch | view | raw | blame | history
program/js/list.js
@@ -513,12 +513,9 @@
{
  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);
    }
  }
  else if (this.rows[id])
  {