Opened 11 years ago
Closed 11 years ago
#10261 closed defect (worksforme)
Dijit and Dojox Contentpane inconsistency with .isLoaded
Reported by: | David Leonardi | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.4.0b |
Keywords: | contentpane isloaded | Cc: | |
Blocked By: | Blocking: |
Description
Citing documentation from dojox.layout.contentpane:
isLoaded: True if the ContentPane? has data in it, either specified during initialization (via href or inline content), or set via attr('content', ...) / attr('href', ...) False if it doesn't have any content, or if ContentPane? is still in the process of downloading href.
yet, checking on .isLoaded on declarativley created CP's returns no value.
to test: http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/layout/test_BorderContainer.html and type: dijit.byId("border1").isLoaded
Works fine with content loaded via HREF.
inconsistency affects all versions including latest trunk.
dijit.byId("border1") is a BorderContainer, not a ContentPane.
Running dijit.byId("dijit_layout_ContentPane_1").isLoaded on that file return true for me. Are you seeing something different?