Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

pagecontainer("load") does not return promise #6900

Closed
@marcuskrahl

Description

@marcuskrahl

The current API docs for version 1.4.0 state that the method load of pagecontainer returns a promise to keep track of the load operation:

http://api.jquerymobile.com/pagecontainer/#method-load

The now deprecated $.mobile.loadPage method also returns a promise so this seems to be the desired behaviour.
As of now, the pagecontainer("load") method creates a deferred, but does not return it as a promise.

This behaviour is reproducable in the following test page:
http://jsbin.com/IFolanOW/72

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions