mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
[Bugfix] Dashboards redirecting and widgets not adding (#4272)
bug: Fixes dashboards redirecting #4213 and adding new widgets #4255
This commit is contained in:
committed by
Neil Lathwood
parent
6a3f8b6ac2
commit
d2db74c44e
@@ -326,6 +326,7 @@ foreach (dbFetchRows("SELECT * FROM `widgets` ORDER BY `widget_title`") as $widg
|
||||
|
||||
$('.place_widget').on('click', function(event, state) {
|
||||
var widget_id = $(this).data('widget_id');
|
||||
event.preventDefault();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'ajax_form.php',
|
||||
|
Reference in New Issue
Block a user