Jasonette / JASONETTE-iOS

📡 Native App over HTTP, on iOS
https://www.jasonette.com
MIT License
5.27k stars 352 forks source link

header.menu.action.success not triggering #331

Open darenr opened 6 years ago

darenr commented 6 years ago

trying to catch the return from a header view (to reload the main view after changing settings) but wasn't able to make the $href success handler fire

demo: https://jasonbase.com/things/dmmb

the part that illustrates the bug:

        "action": {
            "type": "$href",
            "success": {
              "type": "$util.alert",
              "options": {
                "title": "This should fire",
                "description": "but it didnt"
              }
            }
hanyg commented 5 years ago

Hello,

Not sure if you are still looking for a solution for this, but based on other answers I have seen, the success will fire when used in conjunction with $ok.

I was looking for a more general success/error on any $href that succeeds/fails. It does not work that way, however.

Hany