From 69406d0fb060d67f55bb4066df181124c5140b76 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 15 Jun 2009 21:49:38 +0000 Subject: [PATCH] BUGFIX Marking new TreeMultiSelectField_Readonly with $readonly flag, otherwise breaks CMS saving with Translable enabled etc. (see #4240) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@79240 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TreeMultiselectField.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/forms/TreeMultiselectField.php b/forms/TreeMultiselectField.php index b4c933e81..25f26457f 100755 --- a/forms/TreeMultiselectField.php +++ b/forms/TreeMultiselectField.php @@ -90,6 +90,9 @@ HTML; } class TreeMultiselectField_Readonly extends TreeMultiselectField { + + protected $readonly = true; + function Field() { $titleArray = array(); $titleList = array();