t_63e94899: Remove duplicate ocrPickedPhoto/createAssetFromPicked stubs — originals at 1783/1797 now resolve correctly
This commit is contained in:
@@ -3792,26 +3792,6 @@
|
|||||||
window.open(url, '_blank');
|
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
|
// ▶ Clear picked photo and reset state
|
||||||
function clearPickedPhoto() {
|
function clearPickedPhoto() {
|
||||||
pickedPhotoFile = null;
|
pickedPhotoFile = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user