mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 00:06:07 -07:00
Fix guidelines modal for separated configuration table
This commit is contained in:
parent
f7810f7f95
commit
f77538f179
2 changed files with 10 additions and 10 deletions
|
@ -115,5 +115,15 @@ DOCUMENTATION :: END
|
||||||
var url = 'uninstall_geoip_db';
|
var url = 'uninstall_geoip_db';
|
||||||
confirmAjaxCall(url, msg, 'Uninstalling GeoLite2 database.', getConfigurationTable);
|
confirmAjaxCall(url, msg, 'Uninstalling GeoLite2 database.', getConfigurationTable);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.guidelines-modal-link').on('click', function (e) {
|
||||||
|
e.preventDefault();
|
||||||
|
$('#guidelines-link').attr('href', $('#source-link').attr('href'));
|
||||||
|
$('#guidelines-type').text($(this).data('id'))
|
||||||
|
$('#guidelines-modal').modal();
|
||||||
|
$('#guidelines-continue').attr('href', $(this).attr('href')).on('click', function () {
|
||||||
|
$('#guidelines-modal').modal('hide');
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
|
@ -2560,16 +2560,6 @@ $(document).ready(function() {
|
||||||
$('#notify_recently_added_grandparent_note').css('color', c);
|
$('#notify_recently_added_grandparent_note').css('color', c);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.guidelines-modal-link').on('click', function (e) {
|
|
||||||
e.preventDefault();
|
|
||||||
$('#guidelines-link').attr('href', $('#source-link').attr('href'));
|
|
||||||
$('#guidelines-type').text($(this).data('id'))
|
|
||||||
$('#guidelines-modal').modal();
|
|
||||||
$('#guidelines-continue').attr('href', $(this).attr('href')).on('click', function () {
|
|
||||||
$('#guidelines-modal').modal('hide');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
function allowGuestAccessCheck () {
|
function allowGuestAccessCheck () {
|
||||||
if ($("#http_basic_auth").is(":checked")) {
|
if ($("#http_basic_auth").is(":checked")) {
|
||||||
$("#allow_guest_access").attr("disabled", true);
|
$("#allow_guest_access").attr("disabled", true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue