diff --git a/web/images/buttons/file_wanted_buttons.png b/web/images/buttons/file_wanted_buttons.png index 482730ebd..39e563f66 100644 Binary files a/web/images/buttons/file_wanted_buttons.png and b/web/images/buttons/file_wanted_buttons.png differ diff --git a/web/javascript/torrent.js b/web/javascript/torrent.js index 280175682..1211aaf59 100644 --- a/web/javascript/torrent.js +++ b/web/javascript/torrent.js @@ -694,6 +694,8 @@ TorrentFile.prototype = { }, toggleWanted: function() { + if(this.element().hasClass('complete')) + return; this.setWanted(!this._wanted); }, diff --git a/web/stylesheets/common.css b/web/stylesheets/common.css index 43afcf4b6..f98762974 100644 --- a/web/stylesheets/common.css +++ b/web/stylesheets/common.css @@ -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 {