mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
indexers: fix site link in setup modal (#14148)
This commit is contained in:
@@ -322,8 +322,8 @@ function displayUnconfiguredIndexersList() {
|
|||||||
indexersTable.find('.indexer-setup').each(function (i, btn) {
|
indexersTable.find('.indexer-setup').each(function (i, btn) {
|
||||||
var indexer = unconfiguredIndexers[i];
|
var indexer = unconfiguredIndexers[i];
|
||||||
$(btn).click(function () {
|
$(btn).click(function () {
|
||||||
$('#select-indexer-modal').modal('hide').on('hidden.bs.modal', function (e) {
|
$('#select-indexer-modal').modal('hide').on('hidden.bs.modal', function () {
|
||||||
displayIndexerSetup(indexer.id, indexer.name, indexer.caps, indexer.link, indexer.alternativesitelinks, indexer.description);
|
displayIndexerSetup(indexer.id, indexer.name, indexer.caps, indexer.site_link, indexer.alternativesitelinks, indexer.description);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -660,7 +660,7 @@ function prepareSetupButtons(element) {
|
|||||||
var indexer = configuredIndexers.find(i => i.id === id);
|
var indexer = configuredIndexers.find(i => i.id === id);
|
||||||
if (indexer)
|
if (indexer)
|
||||||
$btn.click(function () {
|
$btn.click(function () {
|
||||||
displayIndexerSetup(indexer.id, indexer.name, indexer.caps, indexer.link, indexer.alternativesitelinks, indexer.description);
|
displayIndexerSetup(indexer.id, indexer.name, indexer.caps, indexer.site_link, indexer.alternativesitelinks, indexer.description);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@@ -700,7 +700,7 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||||
<h4 class="modal-title">{{title}} - <a target="_blank" href="{{link}}">{{link}}</a></h4>
|
<h4 class="modal-title">{{title}} - <a target="_blank" href="{{link}}" rel="noreferrer">{{link}}</a></h4>
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
<div class="alert alert-info">{{description}}</div>
|
<div class="alert alert-info">{{description}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Reference in New Issue
Block a user