Commit 23f9684e authored by echel0n's avatar echel0n
Browse files

Fixed issues with removing custom torrent/newznab providers

parent e2132a29
# Changelog # Changelog
- * 8d0178c - 2018-10-14: Fixed issue#286 - added support for non-english indexer images - * 0ca909e - 2018-10-14: Fixed issues with removing custom torrent/newznab providers
- * e2132a2 - 2018-10-14: Fixed issue#286 - added support for non-english indexer images
- * d186f55 - 2018-10-14: Release v9.3.87 - * d186f55 - 2018-10-14: Release v9.3.87
- * ca05ceb - 2018-10-14: Fixed issue with freebsd init script not daemonizing the app - * ca05ceb - 2018-10-14: Fixed issue with freebsd init script not daemonizing the app
- * 10fc6b3 - 2018-10-14: Release v9.3.86 - * 10fc6b3 - 2018-10-14: Release v9.3.86
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -4817,9 +4817,8 @@ $(document).ready(function ($) { ...@@ -4817,9 +4817,8 @@ $(document).ready(function ($) {
}, },
deleteNewznabProvider: function (id) { deleteNewznabProvider: function (id) {
$('#editANewznabProvider').removeOption(id); $("#editANewznabProvider option[value='" + id + "']").remove();
SICKRAGE.config.providers.populateNewznabSection(); SICKRAGE.config.providers.populateNewznabSection();
$('li').remove('#' + id);
delete SICKRAGE.config.providers.newznabProviders[id]; delete SICKRAGE.config.providers.newznabProviders[id];
SICKRAGE.config.providers.refreshProviderList(); SICKRAGE.config.providers.refreshProviderList();
}, },
...@@ -4958,9 +4957,8 @@ $(document).ready(function ($) { ...@@ -4958,9 +4957,8 @@ $(document).ready(function ($) {
}, },
deleteTorrentRssProvider: function (id) { deleteTorrentRssProvider: function (id) {
$('#editATorrentRssProvider').removeOption(id); $("#editATorrentRssProvider option[value='" + id + "']").remove();
SICKRAGE.config.providers.populateTorrentRssSection(); SICKRAGE.config.providers.populateTorrentRssSection();
$('li').remove('#' + id);
delete SICKRAGE.config.providers.torrentRssProviders[id]; delete SICKRAGE.config.providers.torrentRssProviders[id];
SICKRAGE.config.providers.refreshProviderList(); SICKRAGE.config.providers.refreshProviderList();
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment