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:
@@ -695,7 +695,7 @@ function askExportCSV() {
|
|||||||
function ExportCSV()
|
function ExportCSV()
|
||||||
{
|
{
|
||||||
// Execute
|
// Execute
|
||||||
openInNewTab(window.location.origin + "/php/server/devices.php?action=ExportCSV")
|
openInNewTab("php/server/devices.php?action=ExportCSV")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Import CSV
|
// Import CSV
|
||||||
@@ -707,7 +707,7 @@ function askImportCSV() {
|
|||||||
function ImportCSV()
|
function ImportCSV()
|
||||||
{
|
{
|
||||||
// Execute
|
// Execute
|
||||||
$.get('/php/server/devices.php?action=ImportCSV', function(msg) {
|
$.get('php/server/devices.php?action=ImportCSV', function(msg) {
|
||||||
showMessage (msg);
|
showMessage (msg);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user