Opened 14 years ago
Closed 14 years ago
#2346 closed defect (fixed)
TreeDocIcon.css: Empty URLs cause page reloads
Reported by: | Owned by: | bill | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Dijit | Version: | 0.4.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
src/widget/templates/TreeDocIcon.css contains several style classes with empty url() attributes for the background-image property, e.g.
.TreeStateChildrenNo?-ExpandClosed .TreeIconContent { background-image : url(); }
When the tree renders a node with this class, the empty URL is mapped to the URL of the page containing the tree. If that page is not cached, unnecessary page-reloads happen in the background.
Suggested fix: either include a valid image URL, or use background-image:none.
Workaround without touching Dojo: override the empty url() definitions in a custom CSS file, e.g.
.TreeStateChildrenNo?-ExpandClosed .TreeIconContent { background-image : none !important; }
Change History (4)
comment:1 Changed 14 years ago by
Milestone: | → 0.9 |
---|
comment:2 Changed 14 years ago by
Component: | Widgets → Dijit |
---|
comment:3 Changed 14 years ago by
Milestone: | 0.9 → 1.0 |
---|
comment:4 Changed 14 years ago by
Milestone: | 1.0 → 0.9 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
No longer an issue in 0.9.
I need to add icon support into the Tree for dijit 0.9; when I do, I'll make sure not to have blank URLs. Leaving the bug open as a reminder.