Skip to content
Snippets Groups Projects
Commit b4a09e39 authored by catch's avatar catch
Browse files

Issue #1865926 by damiankloip: Don't need to call parent::setData() in...

Issue #1865926 by damiankloip: Don't need to call parent::setData() in AjaxResponse::prepare() method.
parent 342a5cac
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -55,8 +55,7 @@ public function addCommand($command, $prepend = FALSE) {
* Response The current response.
*/
public function prepare(Request $request) {
parent::setData($this->ajaxRender($request));
$this->setData($this->ajaxRender($request));
return parent::prepare($request);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment