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
|
|
@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request):
|
|||
raise _HE(404, "Nicht gefunden.")
|
||||
return _media_response(filepath)
|
||||
|
||||
APP_VER = "932" # muss mit APP_VER in app.js übereinstimmen
|
||||
APP_VER = "933" # muss mit APP_VER in app.js übereinstimmen
|
||||
|
||||
@app.get("/.well-known/assetlinks.json")
|
||||
async def assetlinks():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue