#3653 - Re-work block AJAXification code
| Identifier | #3653 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Re-work block AJAXification code |
| Status | Completed |
| Handling member | Salman |
| Addon | General / Uncategorised |
| Description | As discussed on Skype. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
<div data-ajaxify="{ callUrl: 'http://url/goes/here', callParamsFromTarget: [...this is an array of regexes for call URL params that will be taken from targets...], targetsSelector: 'a.my-child, form.another-child' }">
< a class="my-child" href="http://some/url?param_name=param_value">Click Me</ a>
< a data-ajaxify-target="1" href="http://some/url?param_name=param_value">Click Me Too</ a>
<div>