Fix App.checkNearbyAlerts Export, Karte refresh nach Meldung, Button 'Absenden', SW by-v330

This commit is contained in:
rene 2026-04-24 09:29:23 +02:00
parent 5a755e4922
commit 9213b58d3c
3 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '317'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '318'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const App = (() => {
@ -830,7 +830,7 @@ const App = (() => {
getInstallPrompt: () => _installPrompt, requireAuth,
showOnboarding: _showOnboardingModal,
updateNotifBadge: _updateNotifBadge,
_checkNearbyAlerts };
checkNearbyAlerts: _checkNearbyAlerts };
})();

View file

@ -470,8 +470,8 @@ window.Page_poison = (() => {
const footer = `
<button type="button" class="btn btn-secondary flex-1" id="pf-cancel">Abbrechen</button>
<button type="submit" form="poison-form" class="btn btn-danger flex-1">
Meldung abschicken
<button type="submit" form="poison-form" class="btn btn-danger">
Absenden
</button>
`;
@ -541,6 +541,8 @@ window.Page_poison = (() => {
_renderMarkers();
_renderList();
_updateBadge(_reports.length);
App.checkNearbyAlerts();
App.callModule('map', 'refresh');
UI.toast.success('Giftköder gemeldet! Danke für die Warnung.');
UI.modal.close();
});