mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -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
|
@ -99,6 +99,7 @@
|
|||
|
||||
clearSearchButton('users_list_table', users_list_table);
|
||||
|
||||
% if _session['user_group'] == 'admin':
|
||||
$('#row-edit-mode').on('click', function () {
|
||||
$('#row-edit-mode-alert').fadeIn(200);
|
||||
$('#users-to-delete').html('');
|
||||
|
@ -173,8 +174,10 @@
|
|||
toggleEditNames();
|
||||
}
|
||||
});
|
||||
% endif
|
||||
});
|
||||
|
||||
% if _session['user_group'] == 'admin':
|
||||
$("#refresh-users-list").click(function() {
|
||||
$.ajax({
|
||||
url: 'refresh_users_list',
|
||||
|
@ -191,5 +194,6 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
% endif
|
||||
</script>
|
||||
</%def>
|
Loading…
Add table
Add a link
Reference in a new issue