mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Merge pull request #837 from cvc90/Fix-Relative-URL-in-userNotifications
Changed the "absolute URL" target to "relative URL" in userNotifications.php for viewing reports
This commit is contained in:
@@ -127,7 +127,7 @@ require 'php/templates/header.php';
|
||||
"render": function(data, type, row) {
|
||||
if (data.includes("Report:")) {
|
||||
var guid = data.split(":")[1].trim();
|
||||
return `<a href="/report.php?guid=${guid}">Go to Report</a>`;
|
||||
return `<a href="report.php?guid=${guid}">Go to Report</a>`;
|
||||
} else {
|
||||
return data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user