Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

[PATCH] contextmenu.js - Allow clicked element to be passed to a menu callback

#46

I needed the ability to attach a context menu to a table with many rows, and didn't want the computational overhead of attaching a menu to each row. So I created this patch so I could attach the menu to the table body, and then pass the element actually clicked when activating the menu to be passed to each callback.

Reported by Blane Dabney · February 5th, 2009 @ 10:02 AM

State: resolved
Milestone: 1.0
Assigned to: Ryan Johnson Ryan Johnson

Activity

  1. Nathan L Smith
    Nathan L Smith
    • State changed from unconfirmed to confirmed

    May 19th, 2009 @ 08:21 PM

  2. Nathan L Smith
    Nathan L Smith
    • Tag changed from control.contextmenu, enhancements, patch to control.contextmenu, enhancements, needs_docs, patch

    May 23rd, 2009 @ 08:12 PM

  3. Nathan L Smith
    Nathan L Smith

    This has been committed. Still needs docs.

    May 26th, 2009 @ 07:37 PM

  4. Nathan L Smith
  5. Nathan L Smith
    Nathan L Smith
    • State changed from confirmed to resolved

    May 29th, 2009 @ 07:28 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.