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

This commit is contained in:
Mitchell Livingston 2009-03-15 15:38:36 +00:00
parent e7de174f5a
commit 338ce43037
3 changed files with 11 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -694,6 +694,8 @@ TorrentFile.prototype = {
},
toggleWanted: function() {
if(this.element().hasClass('complete'))
return;
this.setWanted(!this._wanted);
},

View File

@ -625,28 +625,29 @@ div.inspector_torrent_file_list_entry_progress {
margin-left: 20px;
}
div.file_wanted_control {
background-position: left -16px;
background-position: left -19px;
float: left;
position: absolute;
cursor: pointer;
margin: 0 0 0 0;
width: 16px;
height: 16px;
margin: 3px 0 0 0;
width: 19px;
height: 19px;
background-image: url('../images/buttons/file_wanted_buttons.png');
background-repeat: no-repeat;
background-color: transparent;
}
li.inspector_torrent_file_list_entry.skip>.file_wanted_control {
background-position: left 0px;
background-position: left top;
}
li.inspector_torrent_file_list_entry.complete>.file_wanted_control {
background-position: -16px -16px;
background-position: left -19px;
}
li.inspector_torrent_file_list_entry.complete.skip>.file_wanted_control {
background-position: -16px 0px;
li.inspector_torrent_file_list_entry.complete>.file_wanted_control {
background-position: left -38px;
cursor: default;
}
div.file_priority_control {