[PATCH] contextmenu.js - Allow clicked element to be passed to a menu callback
Reported by Blane Dabney | February 5th, 2009 @ 10:02 AM | in 1.0
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.
Comments and changes to this ticket
-
Nathan L Smith May 19th, 2009 @ 08:21 PM
- State changed from unconfirmed to confirmed
-
Nathan L Smith May 23rd, 2009 @ 08:12 PM
- Tag changed from control.contextmenu, enhancements, patch to control.contextmenu, enhancements, needs_docs, patch
-
Nathan L Smith May 26th, 2009 @ 07:50 PM
Docs added on http://github.com/smith/livepipe.net-documentation/tree/master. Working with Ryan to get it on the live site.
-
Nathan L Smith May 29th, 2009 @ 07:28 PM
- State changed from confirmed to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
NOTE: Please do not open tickets here. If you have an issue, please open it on http://github.com/syntacticx/livepipe-ui/issues/
High quality widgets and controls for web 2.0 applications built using the Prototype JavaScript Framework. Each control is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible. MIT licensed and actively maintained.