alecpl
2009-02-06 874717b7f1b98ede166a078fc1ffd3f536716576
program/js/list.js
@@ -506,8 +506,8 @@
  // reset but remember selection first
  var select_before = this.selection.join(',');
  this.clear_selection();
  this.selection = new Array();
  for (var n in this.rows)
  {
    if (!filter || (this.rows[n] && this.rows[n][filter] == true))
@@ -515,6 +515,11 @@
      this.last_selected = n;
      this.highlight_row(n, true);
    }
    else if (this.rows[n])
    {
      this.set_classname(this.rows[n].obj, 'selected', false);
      this.set_classname(this.rows[n].obj, 'unfocused', false);
    }
  }
  // trigger event if selection changed