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

whenURI event bug #94

Closed
webfirmframework opened this issue Feb 8, 2025 · 1 comment
Closed

whenURI event bug #94

webfirmframework opened this issue Feb 8, 2025 · 1 comment
Assignees
Labels
Milestone

Comments

@webfirmframework
Copy link
Owner

Set uri from the server side code using browserPage.setURI method then click on back button on the browser, it doesn't trigger the whenURI event.

@webfirmframework webfirmframework added this to the wffweb-12.0.3 milestone Feb 8, 2025
@webfirmframework webfirmframework self-assigned this Feb 8, 2025
@webfirmframework
Copy link
Owner Author

The workaround for this bug till wffweb-12.0.2 is to call wffGlobal.getAndUpdateLocation(); inside the wffGlobalListeners.onSetURI function implementation in the project. This bug will be fixed in 12.0.3 version.

Eg:

const wffGlobalListeners = new function() {

    this.onSetURI = function(event) {
        wffGlobal.getAndUpdateLocation();
        //other codes
    };

    this.afterSetURI = function(event) {
        //other codes
    };

};

@webfirmframework webfirmframework pinned this issue Feb 8, 2025
@webfirmframework webfirmframework unpinned this issue Feb 12, 2025
@webfirmframework webfirmframework pinned this issue Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant