Fix App.checkNearbyAlerts Export, Karte refresh nach Meldung, Button 'Absenden', SW by-v330
This commit is contained in:
parent
5a755e4922
commit
9213b58d3c
3 changed files with 7 additions and 5 deletions
|
|
@ -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 };
|
||||
|
||||
})();
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Offline-Cache + Push Notifications + Tile-Cache
|
||||
============================================================ */
|
||||
|
||||
const CACHE_VERSION = 'by-v329';
|
||||
const CACHE_VERSION = 'by-v330';
|
||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue