Changeset 8787


Ignore:
Timestamp:
Jul 7, 2009, 1:11:24 AM (13 years ago)
Author:
kjg
Message:

(trunk web) delete 'remove data' tool bar item for consistency. (Data is still removable via the right click menu)

Location:
trunk/web
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/index.html

    r8760 r8787  
    3636                                 <li id="open"><div id="open_link"><div class="toolbar_image"></div>Open</div></li>
    3737                                 <li id="remove" class="disabled"><div id="remove_link"><div class="toolbar_image"></div>Remove</div></li>
    38                                  <li id="removedata" class="disabled"><div id="removedata_link"><div class="toolbar_image"></div>Remove Data</div></li>
    3938                                 <li class="divider">&nbsp;</li>
    4039                                 <li id="pause_selected" class="disabled"><div id="pause_selected_link"><div class="toolbar_image"></div>Pause</div></li>
  • trunk/web/javascript/transmission.js

    r8761 r8787  
    4141                $('#resume_selected_link').bind('click', function(e){ tr.startSelectedClicked(e); });
    4242                $('#remove_link').bind('click',  function(e){ tr.removeClicked(e); });
    43                 $('#removedata_link').bind('click',  function(e){ tr.removeDataClicked(e); });
    4443                $('#filter_all_link').parent().bind('click', function(e){ tr.showAllClicked(e); });
    4544                $('#filter_downloading_link').parent().bind('click', function(e){ tr.showDownloadingClicked(e); });
     
    7776                this._toolbar_start_all_button = $('li#resume_all')[0];
    7877                this._toolbar_remove_button    = $('li#remove')[0];
    79                 this._toolbar_delete_button    = $('li#removedata')[0];
    8078                this._context_pause_button     = $('li#context_pause_selected')[0];
    8179                this._context_start_button     = $('li#context_resume_selected')[0];
     
    610608                if( tr.isButtonEnabled( event ) ) {
    611609                        tr.removeSelectedTorrents( );
    612                         tr.hideiPhoneAddressbar( );
    613                 }
    614         },
    615 
    616         removeDataClicked: function( event ) { 
    617                 var tr = this;
    618                 if( tr.isButtonEnabled( event ) ) {
    619                         tr.removeSelectedTorrentsAndData( );
    620610                        tr.hideiPhoneAddressbar( );
    621611                }
     
    15171507                        this.setEnabled( this._context_start_button, havePausedSelection );
    15181508                        this.setEnabled( this._toolbar_remove_button, haveSelection );
    1519                         this.setEnabled( this._toolbar_delete_button, haveSelection );
    15201509                        this.setEnabled( this._toolbar_pause_all_button, haveActive );
    15211510                        this.setEnabled( this._toolbar_start_all_button, havePaused );
  • trunk/web/stylesheets/common.css

    r8567 r8787  
    114114}
    115115
    116 li#removedata div div.toolbar_image, li#removedata.disabled div:active div.toolbar_image {
    117         background-position: left -32px;
    118 }
    119 
    120116li#remove div:active div.toolbar_image {
    121         background-position: right -32px;
    122 }
    123 
    124 li#removedata div:active div.toolbar_image {
    125117        background-position: right -32px;
    126118}
  • trunk/web/stylesheets/iphone.css

    r8784 r8787  
    8282}
    8383
    84 li#remove, li#removedata {
     84li#remove {
    8585        float: left;
    8686}
     
    119119
    120120div.torrent_global_menu ul li#remove div div.toolbar_image {
    121         background-position: left -32px;
    122 }
    123 
    124 div.torrent_global_menu ul li#removedata div div.toolbar_image {
    125121        background-position: left -32px;
    126122}
Note: See TracChangeset for help on using the changeset viewer.