Opened 10 years ago
Closed 10 years ago
#11562 closed defect (fixed)
TitlePane: opening an accordion pane causes closed TitlePane's to load href's.
Reported by: | neorush | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Dijit | Version: | 1.5 |
Keywords: | dijit AccordionContainer ContentPane TitlePane | Cc: | |
Blocked By: | Blocking: |
Description
When there are recursive dijit.TitlePane?'s within a dijit.layout.AccordionContainer? the TitlePane? href always preloads. preload="false" seems to have no effect. With recursive title panes like for categories this is catastrophic as the server requests become exponential the deeper the recursion goes. See attached files for test case.
Attachments (2)
Change History (5)
Changed 10 years ago by
comment:1 Changed 10 years ago by
Component: | General → Dijit |
---|---|
Milestone: | tbd → 1.6 |
Owner: | changed from anonymous to bill |
Status: | new → assigned |
Summary: | dijit.TitlePane href Always Preloads → TitlePane: href Always Preloads |
I'll fix. It's when a ContentPane inside an AccordionContainer (or a TabContainer) is first shown, and calls resize() on it's children, in case they need to layout themselves. For complicated reasons, resize() on a TitlePane (or any descendant of ContentPane) causes the href to load... The problem is that resize() on a closed TitlePane shouldn't do that.
comment:2 Changed 10 years ago by
Summary: | TitlePane: href Always Preloads → TitlePane: opening an accordion pane causes closed TitlePane's to load href's. |
---|
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Test File 1