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

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

@ -858,15 +858,9 @@ 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.select_row(row, mod_key, false);
this.scrollto(row);
}
else {
this.select(row);
}
}
},
@ -877,15 +871,9 @@ 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.select_row(row, mod_key, false);
this.scrollto(row);
}
else {
this.select(row);
}
}
},

Loading…
Cancel
Save