Changeset 8066


Ignore:
Timestamp:
Mar 15, 2009, 3:38:36 PM (13 years ago)
Author:
livings124
Message:

#1925 You can no longer toggle file wanted on completed files (web ui)

Location:
trunk/web
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/torrent.js

    r8062 r8066  
    695695       
    696696        toggleWanted: function() {
     697                if(this.element().hasClass('complete'))
     698                  return;
    697699                this.setWanted(!this._wanted);
    698700        },
  • trunk/web/stylesheets/common.css

    r8062 r8066  
    626626}
    627627div.file_wanted_control {
    628         background-position: left -16px;
     628        background-position: left -19px;
    629629        float: left;
    630630        position: absolute;
    631631        cursor: pointer;
    632         margin: 0 0 0 0;
    633         width: 16px;
    634         height: 16px;
     632        margin: 3px 0 0 0;
     633        width: 19px;
     634        height: 19px;
    635635        background-image: url('../images/buttons/file_wanted_buttons.png');
    636636        background-repeat: no-repeat;
     
    639639
    640640li.inspector_torrent_file_list_entry.skip>.file_wanted_control {
    641         background-position: left 0px;
     641        background-position: left top;
    642642}
    643643
    644644li.inspector_torrent_file_list_entry.complete>.file_wanted_control {
    645         background-position: -16px -16px;
    646 }
    647 
    648 li.inspector_torrent_file_list_entry.complete.skip>.file_wanted_control {
    649         background-position: -16px 0px;
     645        background-position: left -19px;
     646}
     647
     648li.inspector_torrent_file_list_entry.complete>.file_wanted_control {
     649        background-position: left -38px;
     650        cursor: default;
    650651}
    651652
Note: See TracChangeset for help on using the changeset viewer.