facebook

Problems with inner functions and local storage

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #331054 Reply

    softandarts
    Member

    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.
    #331075 Reply

    Hi softandarts,

    We will try to give it a look tomorrow or Fri at the latest.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problems with inner functions and local storage

You must be logged in to post in the forum log in