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
This commit is contained in:
Hayden Smith 2008-08-11 05:00:27 +00:00
parent 93b3d41701
commit 70434ecbc2

View File

@ -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;