mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Readonly class added to performReadOnly method
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44400 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
66ecc4e75e
commit
378e0f9bea
@ -412,6 +412,7 @@ JS
|
||||
$this->setShowPagination(false);
|
||||
$this->setPermissions(array());
|
||||
$this->IsReadOnly = true;
|
||||
$this->addExtraClass( 'readonly' );
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -980,7 +981,7 @@ JS
|
||||
$items[] = $this->template;
|
||||
}
|
||||
|
||||
return implode(" ", $items);
|
||||
return implode(" ", $items) . ' ' . $this->extraClass();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user