Skip to content
Browse files

MINOR Added Group->CMSTreeClasses() (required for GroupCsvBulkLoader …

…refresh in SecurityAdmin) (from r99801)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105528 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent e6dac14 commit f2c49f6bff18a6ed36c22832daa863405eee7054 @chillu chillu committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 security/Group.php
View
8 security/Group.php
@@ -327,6 +327,14 @@ public function getTreeTitle() {
else return htmlspecialchars($this->Title, ENT_QUOTES);
}
+ function CMSTreeClasses($controller) {
+ $classes = $this->class;
+
+ if(!$this->canEdit()) $classes .= " disabled";
+
+ return $classes;
+ }
+
/**
* Overloaded to ensure the code is always descent.
*/

0 comments on commit f2c49f6

Please sign in to comment.
Something went wrong with that request. Please try again.