mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
93b3d41701
commit
70434ecbc2
@ -444,7 +444,7 @@ JS
|
|||||||
|
|
||||||
function performReadonlyTransformation() {
|
function performReadonlyTransformation() {
|
||||||
$this->setShowPagination(false);
|
$this->setShowPagination(false);
|
||||||
$this->setPermissions(array());
|
$this->setPermissions(array('show'));
|
||||||
$this->IsReadOnly = true;
|
$this->IsReadOnly = true;
|
||||||
$this->addExtraClass( 'readonly' );
|
$this->addExtraClass( 'readonly' );
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
Reference in New Issue
Block a user