mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 19:40:08 -07:00
Remove javascript from guest pages
This commit is contained in:
parent
86215c34be
commit
36a3cae9c2
6 changed files with 21 additions and 4 deletions
|
@ -113,6 +113,7 @@
|
|||
|
||||
clearSearchButton('libraries_list_table', libraries_list_table);
|
||||
|
||||
% if _session['user_group'] == 'admin':
|
||||
$('#row-edit-mode').on('click', function () {
|
||||
$('#row-edit-mode-alert').fadeIn(200);
|
||||
$('#libraries-to-delete').html('');
|
||||
|
@ -186,8 +187,10 @@
|
|||
});
|
||||
}
|
||||
});
|
||||
% endif
|
||||
});
|
||||
|
||||
% if _session['user_group'] == 'admin':
|
||||
$("#refresh-libraries-list").click(function () {
|
||||
if ("${config['update_section_ids']}" == "1") {
|
||||
$('#update_section_ids_message').html(
|
||||
|
@ -212,5 +215,6 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
% endif
|
||||
</script>
|
||||
</%def>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue