a
This commit is contained in:
parent
0a090a6946
commit
a4564c45f5
|
|
@ -66,6 +66,7 @@ class ControleurRechercheparcarte extends Controleur {
|
|||
$donneesCarte = $_POST['donneesCarte']; // ex: "IS1|ebene|ESI6936000602|b18e7d5e-0ac2-11f1-a875-d05099ffadf8"|nfc => SVMx|ZWJlbmU=|RVNJNjkzNjAwMTcwMw==|b18e7d5e-0ac2-11f1-a875-d05099ffadf8|nfc
|
||||
$parts = explode('|', $donneesCarte);
|
||||
|
||||
/*
|
||||
var_dump(
|
||||
array(
|
||||
// "POST" => $_POST,
|
||||
|
|
@ -74,7 +75,8 @@ class ControleurRechercheparcarte extends Controleur {
|
|||
)
|
||||
);
|
||||
exit();
|
||||
|
||||
*/
|
||||
|
||||
$versionTagCarte = base64_decode($parts[0]);
|
||||
$codeEntite = base64_decode($parts[1]);
|
||||
|
||||
|
|
|
|||
|
|
@ -125,6 +125,9 @@ inputField.addEventListener('input', function() {
|
|||
});
|
||||
|
||||
inputField.addEventListener('change', function () {
|
||||
|
||||
alert(this.value);
|
||||
|
||||
if (this.value.length > 3) {
|
||||
const type = detectScanType(this.value);
|
||||
const message = type === 'qr'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user