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
Description
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
Labels
No labels