Skip to content

How to refresh a page without doing a full window reload #95

@Deeheks

Description

@Deeheks

How to reload a page through Davis.js ?
Here's my situation.

I'm doing some ajax call triggered by a jQ click ; onSuccess I display a message ; then I want to refresh the page.

I've tried

Davis.location.assign( new Davis.Request( window.location.pathname ) );

but it's not working in Chrome.

Davis.location.refresh would be convenient, wouldn't it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions