| Summary | Onclick handler for Horde_Tree broken |
| Queue | Horde Base |
| Queue Version | Git master |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | slusarz (at) horde (dot) org |
| Requester | mrubinsk (at) horde (dot) org |
| Created | 03/01/2011 (5365 days ago) |
| Due | |
| Updated | 03/04/2011 (5362 days ago) |
| Assigned | |
| Resolved | 03/04/2011 (5362 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
Request #9612: Do not allow setting onclick in Horde_Tree4 files changed, 13 insertions(+), 21 deletions(-)
http://git.horde.org/horde-git/-/commit/d4da93521a36744dbb1b5f54486cc0a39edd8f1d
should not be running any javascript via HTML on* parameters.
The *one* place where using embedded javascript may be acceptable is
to open a popup window. But this should be done via the url parameter
rather than onclick anyway.
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Assigned to Michael Slusarz
Queue ⇒ Horde Base
Summary ⇒ Onclick handler for Horde_Tree broken
Type ⇒ Bug
State ⇒ Assigned
on a node of the tree. The code that outputes the onclick attribute is
now commented out, and a generic click handler is used in it's place.
I'm guessing these changes were never finished?
E.g., See Hermes' Start Stopwatch link in the Horde sidebar. It looks
like a generic click handler is attached, but the actual javascript
passed in to use is ignored.