Bring back fix for #1489396, unintentionally removed in another pull request

pull/152/head
Aleksander Machniak 11 years ago
parent bc35e865ae
commit 03da10725c

@ -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);
}
},

Loading…
Cancel
Save