mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Revert "changes needed to run under web server subdirectory"
This commit is contained in:
@@ -153,7 +153,7 @@ echo('
|
||||
var device_id = $(this).data("device_id");
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'ajax_form.php',
|
||||
url: '/ajax_form.php',
|
||||
data: { type: "poller-module-update", poller_module: poller_module, device_id: device_id, state: state},
|
||||
dataType: "html",
|
||||
success: function(data){
|
||||
@@ -184,7 +184,7 @@ echo('
|
||||
var device_id = $(this).data("device_id");
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'ajax_form.php',
|
||||
url: '/ajax_form.php',
|
||||
data: { type: "discovery-module-update", discovery_module: discovery_module, device_id: device_id, state: state},
|
||||
dataType: "html",
|
||||
success: function(data){
|
||||
|
Reference in New Issue
Block a user