Merge pull request #412 from cvc90/Pi.Alert-Fixes-URL-Maintenance

Url fixes for the ImportCSV and ExportCSV functions in maintenance.php
This commit is contained in:
jokob-sk
2023-09-05 20:21:40 +00:00
committed by GitHub

View File

@@ -695,7 +695,7 @@ function askExportCSV() {
function ExportCSV()
{
// Execute
openInNewTab(window.location.origin + "/php/server/devices.php?action=ExportCSV")
openInNewTab("php/server/devices.php?action=ExportCSV")
}
// Import CSV
@@ -707,7 +707,7 @@ function askImportCSV() {
function ImportCSV()
{
// Execute
$.get('/php/server/devices.php?action=ImportCSV', function(msg) {
$.get('php/server/devices.php?action=ImportCSV', function(msg) {
showMessage (msg);
});
}