From 5eee11f4a5c6e1c6e77e83e3248dbf49c4130423 Mon Sep 17 00:00:00 2001 From: Sabina Talipova <87288324+sabina-talipova@users.noreply.github.com> Date: Thu, 8 Dec 2022 10:44:50 +1300 Subject: [PATCH] API Remove deprecated code (#130) --- code/BasicFieldsTestPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/BasicFieldsTestPage.php b/code/BasicFieldsTestPage.php index 9413b95..6eef58a 100644 --- a/code/BasicFieldsTestPage.php +++ b/code/BasicFieldsTestPage.php @@ -313,13 +313,13 @@ class BasicFieldsTestPage extends TestPage $disabledField->setTitle($disabledField->Title() . ' (disabled)'); $disabledField->setName($disabledField->getName() . '_disabled'); $disabledField->setValue($this->getField($field->getName())); - $tabObj->insertAfter($disabledField, $field->getName()); + $tabObj->insertAfter($field->getName(), $disabledField); $readonlyField = $field->performReadonlyTransformation(); $readonlyField->setTitle($readonlyField->Title() . ' (readonly)'); $readonlyField->setName($readonlyField->getName() . '_readonly'); $readonlyField->setValue($this->getField($field->getName())); - $tabObj->insertAfter($readonlyField, $field->getName()); + $tabObj->insertAfter($field->getName(), $readonlyField); } }