mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Merge pull request #1022 from cvc90/cvc90-update-front-devices-urls
Changing absolute path URL to relative path URL in devices.php
This commit is contained in:
@@ -218,7 +218,7 @@ function getDevicesTotals() {
|
|||||||
|
|
||||||
// Attempt to fetch data
|
// Attempt to fetch data
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/php/server/query_json.php',
|
url: 'php/server/query_json.php',
|
||||||
type: "GET",
|
type: "GET",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
data: {
|
data: {
|
||||||
@@ -336,7 +336,7 @@ let columnFilters = [];
|
|||||||
function initFilters() {
|
function initFilters() {
|
||||||
// Attempt to fetch data
|
// Attempt to fetch data
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/php/server/query_json.php',
|
url: 'php/server/query_json.php',
|
||||||
type: "GET",
|
type: "GET",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
data: {
|
data: {
|
||||||
@@ -987,7 +987,7 @@ function handleLoadingDialog(needsReload = false)
|
|||||||
{
|
{
|
||||||
// console.log(`needsReload: ${needsReload}`);
|
// console.log(`needsReload: ${needsReload}`);
|
||||||
|
|
||||||
$.get('/php/server/query_logs.php?file=execution_queue.log&nocache=' + Date.now(), function(data) {
|
$.get('php/server/query_logs.php?file=execution_queue.log&nocache=' + Date.now(), function(data) {
|
||||||
|
|
||||||
if(data.includes("update_api|devices"))
|
if(data.includes("update_api|devices"))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user