mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update modal so deletion is possible - grrr javascript
This commit is contained in:
@@ -41,8 +41,7 @@ if(is_admin() === false) {
|
||||
|
||||
<script>
|
||||
$('#confirm-delete').on('show.bs.modal', function(event) {
|
||||
event.preventDefault();
|
||||
map_id = $(e.relatedTarget).data('map_id');
|
||||
map_id = $(event.relatedTarget).data('map_id');
|
||||
$("#map_id").val(map_id);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user