Add notifier name to modal title

This commit is contained in:
Jonathan Wong 2015-12-12 17:32:32 -08:00
parent 66bb922012
commit 5863b62ccf
2 changed files with 14 additions and 4 deletions

View file

@ -6,7 +6,7 @@ from plexpy import helpers
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-remove"></i></button>
<h4 class="modal-title" id="notification-config-modal-header">Set Config</h4>
<h4 class="modal-title" id="notification-config-modal-header">${agent['name']} Settings</h4>
</div>
<div class="modal-body">
<div class="container-fluid">
@ -88,7 +88,7 @@ from plexpy import helpers
function reloadModal() {
$.ajax({
url: 'get_notification_agent_config',
data: { config_id: '${config_id}' },
data: { config_id: '${agent["id"]}' },
cache: false,
async: true,
complete: function (xhr, status) {