t_63e94899: Remove duplicate ocrPickedPhoto/createAssetFromPicked stubs — originals at 1783/1797 now resolve correctly

This commit is contained in:
2026-05-21 22:15:20 -04:00
parent e9f6af0590
commit df90ebf5eb
-20
View File
@@ -3792,26 +3792,6 @@
window.open(url, '_blank');
}
// ▶ OCR the picked photo — stub (T2 territory, button exists in UI)
function ocrPickedPhoto() {
if (!pickedPhotoFile) {
showToast('No photo picked', true);
return;
}
showToast('OCR scanning not yet implemented', true);
}
// ▶ Create asset from picked photo — fills manual form
function createAssetFromPicked() {
// Switch to manual mode with prefilled data
setAddAssetMode('manual');
if (pickedPhotoGps) {
fillManualFromGps();
}
// Scroll to manual form
document.getElementById('addManualMode').scrollIntoView({ behavior: 'smooth' });
}
// ▶ Clear picked photo and reset state
function clearPickedPhoto() {
pickedPhotoFile = null;