Fix nav element API path
This commit is contained in:
parent
65110bd1b4
commit
77c5c3d872
@ -121,7 +121,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
function loadTable() {
|
function loadTable() {
|
||||||
$('#overlay').show();
|
$('#overlay').show();
|
||||||
var heskUrl = $('#heskUrl').text();
|
var heskUrl = $('p#hesk-path').text();
|
||||||
var notFoundText = mfhLang.text('no_custom_nav_elements_found');
|
var notFoundText = mfhLang.text('no_custom_nav_elements_found');
|
||||||
var places = [];
|
var places = [];
|
||||||
var $tableBody = $('#table-body');
|
var $tableBody = $('#table-body');
|
||||||
@ -131,7 +131,7 @@ function loadTable() {
|
|||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: heskUrl + '/api/v1-internal/custom-navigation/all',
|
url: heskUrl + 'api/v1-internal/custom-navigation/all',
|
||||||
headers: { 'X-Internal-Call': true },
|
headers: { 'X-Internal-Call': true },
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
$tableBody.html('');
|
$tableBody.html('');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user