mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
changes needed to run under web server subdirectory
This commit is contained in:
@@ -57,7 +57,7 @@ $('#create-map').on('show.bs.modal', function (event) {
|
||||
$('#map_id').val(map_id);
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/ajax_form.php",
|
||||
url: "ajax_form.php",
|
||||
data: { type: "parse-alert-map", map_id: map_id },
|
||||
dataType: "json",
|
||||
success: function(output) {
|
||||
@@ -166,7 +166,7 @@ $('#map-submit').click('', function(e) {
|
||||
e.preventDefault();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/ajax_form.php",
|
||||
url: "ajax_form.php",
|
||||
data: $('form.maps-form').serialize(),
|
||||
success: function(msg){
|
||||
$("#message").html('<div class="alert alert-info">'+msg+'</div>');
|
||||
|
Reference in New Issue
Block a user