1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

(trunk web) use public jQuery functions. private ones can change or be removed at any time (like in 1.4)

This commit is contained in:
Kevin Glowacz 2010-01-15 03:41:39 +00:00
parent bf08de36d9
commit d9c7ed8baa

View file

@ -437,11 +437,10 @@ Transmission.prototype =
},
selectElement: function( e, doUpdate ) {
$.className.add( e[0], 'selected' );
e.addClass('selected');
this.scrollToElement( e );
if( doUpdate )
this.selectionChanged( );
$.className.add( e[0], 'selected' );
},
selectRow: function( rowIndex, doUpdate ) {
this.selectElement( this._rows[rowIndex], doUpdate );
@ -452,7 +451,7 @@ Transmission.prototype =
},
deselectElement: function( e, doUpdate ) {
$.className.remove( e[0], 'selected' );
e.removeClass('selected');
if( doUpdate )
this.selectionChanged( );
},