mirror of
https://github.com/transmission/transmission.git
synced 2026-04-19 16:31:13 +01:00
(trunk web) #3820 "Web UI flicking to selection" -- apply a patch from buljit to fix a keyboard navigation regression reported by Tenzer in comment:8
This commit is contained in:
@@ -470,9 +470,6 @@ Transmission.prototype =
|
||||
|
||||
selectElement: function( e, doUpdate ) {
|
||||
e.addClass('selected');
|
||||
// commented out as an experiment --
|
||||
// see https://trac.transmissionbt.com/ticket/3820#comment:3
|
||||
// this.scrollToElement( e );
|
||||
if( doUpdate )
|
||||
this.selectionChanged( );
|
||||
},
|
||||
@@ -575,6 +572,7 @@ Transmission.prototype =
|
||||
if( 0<=i && i<rows.length ) {
|
||||
tr.deselectAll( );
|
||||
tr.selectRow( i, true );
|
||||
tr.scrollToElement( tr._rows[i] );
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user