mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
Merge pull request #846 from laf/issue-843
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