diff --git a/forms/ComplexTableField.php b/forms/ComplexTableField.php index a2a4a0ed4..2a442be32 100755 --- a/forms/ComplexTableField.php +++ b/forms/ComplexTableField.php @@ -701,7 +701,7 @@ class ComplexTableField_ItemRequest extends RequestHandler { } $this->methodName = "show"; - echo $this->renderWith($this->ctf->templatePopup); + return $this->renderWith($this->ctf->templatePopup); } /** @@ -728,7 +728,7 @@ class ComplexTableField_ItemRequest extends RequestHandler { $this->methodName = "edit"; - echo $this->renderWith($this->ctf->templatePopup); + return $this->renderWith($this->ctf->templatePopup); } function delete() {