Commit b4a09e39 authored by catch's avatar catch

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
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment