mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Revert "changes needed to run under web server subdirectory"
This commit is contained in:
@@ -268,7 +268,7 @@ $('#ack-alert').click('', function(e) {
|
||||
var alert_id = $(this).data("alert_id");
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "ajax_form.php",
|
||||
url: "/ajax_form.php",
|
||||
data: { type: "ack-alert", alert_id: alert_id },
|
||||
success: function(msg){
|
||||
$("#message").html('<div class="alert alert-info">'+msg+'</div>');
|
||||
@@ -294,7 +294,7 @@ $('input[name="alert-rule"]').on('switchChange.bootstrapSwitch', function(event
|
||||
var orig_class = $(this).data("orig_class");
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'ajax_form.php',
|
||||
url: '/ajax_form.php',
|
||||
data: { type: "update-alert-rule", alert_id: alert_id, state: state },
|
||||
dataType: "html",
|
||||
success: function(msg) {
|
||||
|
||||
Reference in New Issue
Block a user