Skip to content

Commit 3c620ff

Browse files
mateuszdebinskiMateusz Dębiński
andauthored
IBX-8945: Improved display of geolocation errors (#1423)
Co-authored-by: Mateusz Dębiński <[email protected]>
1 parent 20d56a9 commit 3c620ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@
599599

600600
navigator.geolocation.getCurrentPosition(
601601
(position) => updateMapState(position.coords.latitude, position.coords.longitude),
602-
(error) => ibexa.helpers.notification.showErrorNotification(error),
602+
(error) => ibexa.helpers.notification.showErrorNotification(error.message),
603603
);
604604
};
605605
let locationMarker;

0 commit comments

Comments
 (0)