Ticket #1300 (closed Bug: fixed)
(X)HTML elements don't have unique ids
| Reported by: | vipsoft | Owned by: | vipsoft |
|---|---|---|---|
| Priority: | major | Milestone: | Piwik 0.6.2 |
| Component: | UI (templates, javascript) | Keywords: | |
| Cc: | Sensitive: | no |
Description (last modified by vipsoft) (diff)
The id attribute must be unique within a document. This is a problem on the Dashboard with jquery 1.4.x (and its optimized selector code).
Reference: http://www.w3.org/TR/html401/struct/global.html#h-7.5.2
Examples (non-exhaustive list):
- <div id="emptyDatatable">
- <div id="dataTableFeatures">
- <span id="dataTablePages"/>
- <span id="dataTablePrevious">
- <span id="dataTableNext">
- <span id="dataTableSearchPattern" ...>
- <input id="keyword" ...>
- <span id="dataTableFooterIcons" ...>
- <span id="exportToFormat" ...>
- <span id="linksExportToFormat" ...>
- <span id="dataTableFooterIconsShow" ...>
- <span id="tableAllColumnsSwitch" ...>
- <span id="loadingDataTable">
Change History
Note: See
TracTickets for help on using
tickets.
