Merge pull request #150 from cmcnulty/1489396

fix #1489396 - make home/end key behavior consistent
pull/152/head
Aleksander Machniak 11 years ago
commit ed119d3639

@ -856,14 +856,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);
}
},
@ -875,14 +869,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);
}
},

Loading…
Cancel
Save