|
|
|
@ -858,14 +858,8 @@ select_first: function(mod_key)
|
|
|
|
|
{
|
|
|
|
|
var row = this.get_first_row();
|
|
|
|
|
if (row) {
|
|
|
|
|
if (mod_key) {
|
|
|
|
|
this.shift_select(row, mod_key);
|
|
|
|
|
this.triggerEvent('select');
|
|
|
|
|
this.scrollto(row);
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
this.select(row);
|
|
|
|
|
}
|
|
|
|
|
this.select_row(row, mod_key, false);
|
|
|
|
|
this.scrollto(row);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -877,14 +871,8 @@ select_last: function(mod_key)
|
|
|
|
|
{
|
|
|
|
|
var row = this.get_last_row();
|
|
|
|
|
if (row) {
|
|
|
|
|
if (mod_key) {
|
|
|
|
|
this.shift_select(row, mod_key);
|
|
|
|
|
this.triggerEvent('select');
|
|
|
|
|
this.scrollto(row);
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
this.select(row);
|
|
|
|
|
}
|
|
|
|
|
this.select_row(row, mod_key, false);
|
|
|
|
|
this.scrollto(row);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|