correction oif a tabulation error
This commit is contained in:
@@ -1113,13 +1113,13 @@
|
||||
});
|
||||
|
||||
// Globale Variablen für den Scanner-Status (falls nicht schon woanders definiert)
|
||||
let code4LastScanned = '';
|
||||
let code4LastScannedAt = 0;
|
||||
let code4LastScanned = '';
|
||||
let code4LastScannedAt = 0;
|
||||
|
||||
/**
|
||||
/**
|
||||
* Schaltet das UI basierend auf dem ausgewählten Modus um
|
||||
*/
|
||||
function toggleScanMode() {
|
||||
function toggleScanMode() {
|
||||
const mode = document.getElementById('scan_mode').value;
|
||||
const rangeGroup = document.getElementById('range_generator_group');
|
||||
const scanButton = document.getElementById('scan-code4-btn');
|
||||
@@ -1139,12 +1139,12 @@ function toggleScanMode() {
|
||||
rangeGroup.style.display = 'none';
|
||||
if(scanButton) scanButton.style.display = 'inline-block';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Generiert eine Liste von Codes basierend auf den Eingaben
|
||||
*/
|
||||
function generateCodeRange() {
|
||||
function generateCodeRange() {
|
||||
const prefix = document.getElementById('range_prefix').value.trim();
|
||||
const startStr = document.getElementById('range_start').value.trim();
|
||||
const endStr = document.getElementById('range_end').value.trim();
|
||||
@@ -1189,12 +1189,12 @@ function generateCodeRange() {
|
||||
// Visuelles Feedback
|
||||
alert(`Bereich erfolgreich generiert! (${end - start + 1} Codes)`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Scanner-Funktion (Single & Continuous Modus)
|
||||
*/
|
||||
function startCode4Scanner() {
|
||||
function startCode4Scanner() {
|
||||
const scannerBox = document.getElementById('code4-scanner');
|
||||
const scanButton = document.getElementById('scan-code4-btn');
|
||||
const codeField = document.getElementById('code_4');
|
||||
@@ -1289,7 +1289,7 @@ function startCode4Scanner() {
|
||||
} else {
|
||||
console.error("runEngineInitialization is not defined. Ensure your scanner script is loaded.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function startIsbnScanner() {
|
||||
if (!libraryModuleEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user