mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Make entire notifier stacked config click to open modal
This commit is contained in:
parent
1ca1b5aefa
commit
bca9da3964
3 changed files with 15 additions and 8 deletions
|
@ -1341,7 +1341,7 @@
|
|||
<div class="col-md-12">
|
||||
<ul class="stacked-configs list-unstyled">
|
||||
% for agent in available_notification_agents:
|
||||
<li class="new_notification_agent" data-id="${agent['id']}">
|
||||
<li class="new-notification-agent" data-id="${agent['id']}">
|
||||
<span>${agent['label']}</span>
|
||||
</li>
|
||||
% endfor
|
||||
|
@ -2517,7 +2517,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
// Add a new notification agent
|
||||
$('.new_notification_agent').click(function () {
|
||||
$('.new-notification-agent').click(function () {
|
||||
$.ajax({
|
||||
url: 'add_notifier_config',
|
||||
data: { agent_id: $(this).data('id') },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue