From 70434ecbc2ed7b95d3c986652bb789eb66e78be6 Mon Sep 17 00:00:00 2001 From: Hayden Smith Date: Mon, 11 Aug 2008 05:00:27 +0000 Subject: [PATCH] Merged [47033]: TableListField::performReadonlyTransformation now sets show permission. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60383 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TableListField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TableListField.php b/forms/TableListField.php index 7753447ae..faf874e6f 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -444,7 +444,7 @@ JS function performReadonlyTransformation() { $this->setShowPagination(false); - $this->setPermissions(array()); + $this->setPermissions(array('show')); $this->IsReadOnly = true; $this->addExtraClass( 'readonly' ); return $this;