From 8e03c6fdfe2230d3e58030bcdd51b1d3beb5d6b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20D=C4=99bi=C5=84ski?= Date: Thu, 16 Jan 2025 13:03:48 +0100 Subject: [PATCH] IBX-8945: Improved display of geolocation errors --- .../Resources/public/js/scripts/fieldType/ezgmaplocation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js b/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js index 6559a84596..a6df34f971 100644 --- a/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js +++ b/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js @@ -599,7 +599,7 @@ navigator.geolocation.getCurrentPosition( (position) => updateMapState(position.coords.latitude, position.coords.longitude), - (error) => ibexa.helpers.notification.showErrorNotification(error), + (error) => ibexa.helpers.notification.showErrorNotification(error.message), ); }; let locationMarker;