Fix: Foto-Upload im Hunde-Profil Edit-Modal (SW by-v933)
Root cause: fotoFile-Referenz wurde NACH UI.modal.close() geholt — DOM-Element #dp-form-foto existiert nach Modal-Close nicht mehr → files[0] = undefined → Upload übersprungen. Fix: fotoFile VOR modal.close() sichern; File-Objekt bleibt gültig auch ohne DOM.
This commit is contained in:
parent
781e3383bd
commit
08f1806be3
4 changed files with 6 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Offline-Cache + Push Notifications + Tile-Cache
|
||||
============================================================ */
|
||||
|
||||
const CACHE_VERSION = 'by-v932';
|
||||
const CACHE_VERSION = 'by-v933';
|
||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue