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
No related merge requests found
......@@ -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