View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003653 | Composr alpha bug reports | [All Projects] General / Uncategorised | public | 2018-07-31 23:30 | 2018-09-05 04:12 |
Reporter | Chris Graham | Assigned To | Salman | ||
Severity | Feature-request | ||||
Status | resolved | Resolution | fixed | ||
Summary | 0003653: Re-work block AJAXification code | ||||
Description | As discussed on Skype. | ||||
Tags | No tags attached. | ||||
Sponsorship open | 0 | ||||
|
I've replaced the block AJAXification code with a [data-ajaxify] behavior that is initialized using a [data-ajaxify] attribute on the element which contains the ajax results. It takes a JSON5 object of options. Links and forms that are supposed to be ajaxified need to marked using a [data-ajaxify-target="1"] attribute or you can specify a selector with the 'targetsSelector' option passed to [data-ajaxify]. Example: <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> |
|
Great, thanks :)! So you can mark resolved? |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-07-31 23:30 | Chris Graham | New Issue | |
2018-07-31 23:30 | Chris Graham | Status | non-assigned => assigned |
2018-07-31 23:30 | Chris Graham | Assigned To | => Salman |
2018-09-04 08:25 | Salman | Note Added: 0005808 | |
2018-09-04 08:26 | Salman | Note Edited: 0005808 | View Revisions |
2018-09-04 08:28 | Salman | Note Edited: 0005808 | View Revisions |
2018-09-04 08:28 | Salman | Note Edited: 0005808 | View Revisions |
2018-09-04 08:30 | Salman | Note Edited: 0005808 | View Revisions |
2018-09-05 01:21 | Chris Graham | Note Added: 0005814 | |
2018-09-05 04:12 | Salman | Status | assigned => resolved |
2018-09-05 04:12 | Salman | Resolution | open => fixed |
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |