Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

header.menu.action.success not triggering #331

Open
darenr opened this issue Feb 14, 2018 · 1 comment
Open

header.menu.action.success not triggering #331

darenr opened this issue Feb 14, 2018 · 1 comment

Comments

@darenr
Copy link
Contributor

darenr commented Feb 14, 2018

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"
              }
            }
@darenr darenr changed the title header.action.success not firing header.menu.action.success not triggering Feb 14, 2018
@hanyg
Copy link

hanyg commented Sep 17, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants