Problem/Motivation
Since #956186: Allow AJAX to use GET requests and #3352984: Use httpMethod instead of type for AJAX get/post request property it is possible to open a dialog with Ajax via a GET request. However, with this link:
<a href="/some/path"
class="use-ajax"
data-dialog-type="modal"
data-dialog-options="{"width":800}"
data-ajax-http-method="GET">Open dialog</a>
... the dialog options (data-dialog-options
) are not followed. With POST everything works.
The MR contains a test proving the bug
Steps to reproduce
See the test.
Proposed resolution
Fix it.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A