Closed (fixed)
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2008 at 21:09 UTC
Updated:
7 Sep 2008 at 17:33 UTC
Popups attaches to a elements with href attributes. This makes sense for the primary use case of adding popup behaviours to existing links. However, we may wish to provide JS-only behaviours not specifically linked to existing a elements (or linked to a elements but with distinct href attributes needed). Sample use case: being able to click on an existing node title to bring up an edit form for that node title.
Attached patch adds the option of feeding in an explicit href with the options argument. This is used if present; if not, we default to an href attribute of the element being processed. So we can attach popup behaviors to any element.
| Comment | File | Size | Author |
|---|---|---|---|
| popups-elt.patch | 7.08 KB | nedjo |
Comments
Comment #1
starbow commentedExcellent idea! I will review the code soon.
Comment #2
starbow commentedThis feature has been added in 1.1-beta2.
Thanks.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.