Closed Bug 357389 Opened 18 years ago Closed 18 years ago

Show ID/classes in structure toolbar and allow to select element

Categories

(Composer Graveyard :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glazou, Assigned: glazou)

Details

Attachments

(1 file, 1 obsolete file)

The structure toolbar should show when an element carries an ID or classes.
It should also allow to select an element clicking on its entry in the
structure toolbar.
Attached patch fix #1 (obsolete) — Splinter Review
Comment on attachment 242861 [details] [diff] [review]
mucho better, fix #2

Kathy, can you review that one too ?
Attachment #242861 - Flags: review?(brade)
Comment on attachment 242861 [details] [diff] [review]
mucho better, fix #2

>+            newLabel.setAttribute("oncommand", "this.parentNode.selectNode(this)");

I have to really wonder about this.  Why can't you set a capturing or bubbling event listener on this (in a <handler> element on the binding)?  event.target would reflect the newLabel object, I'm pretty sure, and event.currentTarget == this.
Attachment #242861 - Flags: review?(brade) → review+
fixed and checked in (trunk)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
(In reply to comment #5)
> fixed and checked in (trunk)
> 

And where is dummyCommands.inc ?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
/me sends tortoiseCVS to /dev/null, second time it misses a cvs-added file in a week. Thanks paul, fixed.
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: