partial rollback #1119

This commit is contained in:
jokob-sk
2025-07-24 22:13:19 +10:00
parent a53b410713
commit 0265c41612
2 changed files with 25 additions and 41 deletions

View File

@@ -117,7 +117,8 @@ require 'php/templates/header.php';
var guid = data.split(":")[1].trim();
return `<a href="report.php?guid=${guid}">Go to Report</a>`;
} else {
return data;
// clear quotes (") if wrapped in them
return (data.startsWith('"') && data.endsWith('"')) ? data.slice(1, -1) : data;
}
}
},
@@ -208,6 +209,7 @@ require 'php/templates/header.php';
});
</script>
<?php