jQuery: The Write Less, Do More JavaScript Library

Ticket #2830 (new enhancement)

Opened 3 days ago

[treeview] Click/Href-argument to asynchronous treeview

Reported by: jyrki Assigned to: anonymous
Type: enhancement Priority: minor
Milestone: 1.2.4 Component: plugin
Version: 1.2.3 Keywords: treeview
Cc: jyrki.pulliainen@inoi.fi Needs: Review

Description

As proposed in [1], this patch enables two new options to asynchronous treeview, optional href and click.

  • href (if present) adds a link to the treeview element pointing to href
  • click defines a function to be bound to the elements click-event. If only click is defined, the href-attribute of the link is set to "#". User is responsible to prevent bubbling of events.

[1] http://groups.google.com/group/jquery-en/browse_thread/thread/71a6369f88f0260c/2d850852f933ffae

Attachments

treeview_click_href.patch (1.0 kB) - added by jyrki 3 days ago.
Patch to enable href and click options

Change History

Changed 3 days ago by jyrki

Patch to enable href and click options

Note: See TracTickets for help on using tickets.