mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
(trunk web) delete 'remove data' tool bar item for consistency. (Data is still removable via the right click menu)
This commit is contained in:
@@ -40,7 +40,6 @@ Transmission.prototype =
|
||||
$('#pause_selected_link').bind('click', function(e){ tr.stopSelectedClicked(e); } );
|
||||
$('#resume_selected_link').bind('click', function(e){ tr.startSelectedClicked(e); });
|
||||
$('#remove_link').bind('click', function(e){ tr.removeClicked(e); });
|
||||
$('#removedata_link').bind('click', function(e){ tr.removeDataClicked(e); });
|
||||
$('#filter_all_link').parent().bind('click', function(e){ tr.showAllClicked(e); });
|
||||
$('#filter_downloading_link').parent().bind('click', function(e){ tr.showDownloadingClicked(e); });
|
||||
$('#filter_seeding_link').parent().bind('click', function(e){ tr.showSeedingClicked(e); });
|
||||
@@ -76,7 +75,6 @@ Transmission.prototype =
|
||||
this._toolbar_start_button = $('li#resume_selected')[0];
|
||||
this._toolbar_start_all_button = $('li#resume_all')[0];
|
||||
this._toolbar_remove_button = $('li#remove')[0];
|
||||
this._toolbar_delete_button = $('li#removedata')[0];
|
||||
this._context_pause_button = $('li#context_pause_selected')[0];
|
||||
this._context_start_button = $('li#context_resume_selected')[0];
|
||||
|
||||
@@ -613,14 +611,6 @@ Transmission.prototype =
|
||||
}
|
||||
},
|
||||
|
||||
removeDataClicked: function( event ) {
|
||||
var tr = this;
|
||||
if( tr.isButtonEnabled( event ) ) {
|
||||
tr.removeSelectedTorrentsAndData( );
|
||||
tr.hideiPhoneAddressbar( );
|
||||
}
|
||||
},
|
||||
|
||||
toggleInspectorClicked: function( event ) {
|
||||
var tr = this;
|
||||
if( tr.isButtonEnabled( event ) )
|
||||
@@ -1516,7 +1506,6 @@ Transmission.prototype =
|
||||
this.setEnabled( this._toolbar_start_button, havePausedSelection );
|
||||
this.setEnabled( this._context_start_button, havePausedSelection );
|
||||
this.setEnabled( this._toolbar_remove_button, haveSelection );
|
||||
this.setEnabled( this._toolbar_delete_button, haveSelection );
|
||||
this.setEnabled( this._toolbar_pause_all_button, haveActive );
|
||||
this.setEnabled( this._toolbar_start_all_button, havePaused );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user