mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
committed by
Neil Lathwood
parent
da68e50c00
commit
2076e3655f
@@ -591,7 +591,7 @@ foreach (dbFetchRows("SELECT * FROM `widgets` ORDER BY `widget_title`") as $widg
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'ajax_dash.php',
|
||||
data: {type: data_type, id: id, dimensions: {x:$("#widget_body_"+id).innerWidth()-20, y:$("#widget_body_"+id).innerHeight()-20}, settings:settings},
|
||||
data: {type: data_type, id: id, dimensions: {x:$("#widget_body_"+id).innerWidth()-50, y:$("#widget_body_"+id).innerHeight()-50}, settings:settings},
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
if (data.status == 'ok') {
|
||||
|
Reference in New Issue
Block a user