|
|
@ -512,14 +512,11 @@ get_single_selection: function()
|
|
|
|
highlight_row: function(id, multiple)
|
|
|
|
highlight_row: function(id, multiple)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (this.rows[id] && !multiple)
|
|
|
|
if (this.rows[id] && !multiple)
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!this.in_selection(id))
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
this.clear_selection();
|
|
|
|
this.clear_selection();
|
|
|
|
this.selection[0] = id;
|
|
|
|
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])
|
|
|
|
else if (this.rows[id])
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!this.in_selection(id)) // select row
|
|
|
|
if (!this.in_selection(id)) // select row
|
|
|
|