Hi everybody,
In the pre-transition event I use the browser geolocation and google api (with 2 anonymous funtions) for get the Cap from latitude and longitude:
1) I can not do return true or false in the 2 anonymous functions for block or run the transition and then use the localStorage: is there a way to return true or false at pre-transition event with anonymous functions ?
2) when I use the localStoragethe first time I can not read the key (= null): the second time gives me true, but it makes the transition to the destination page: does it only if I refresh the page index;
Please Help me.
Thanks and sorry for my bad english.
Luca Formica
(in attachment the test project – my MOBIONE version 2.2.0)
Attachments:
You must be
logged in to view attached files.