From 00461045a95dd019a2fb994f3247ec251f343d65 Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Thu, 31 Oct 2013 11:18:24 +0100 Subject: [PATCH] MDL-42617 Add support for frozen fields in searchableselector form elements --- lib/form/searchableselector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/form/searchableselector.php b/lib/form/searchableselector.php index dcad9dc958f..681549bd72f 100644 --- a/lib/form/searchableselector.php +++ b/lib/form/searchableselector.php @@ -64,7 +64,7 @@ class MoodleQuickForm_searchableselector extends MoodleQuickForm_select{ */ function toHtml(){ global $OUTPUT; - if ($this->_hiddenLabel){ + if ($this->_hiddenLabel || $this->_flagFrozen) { return parent::toHtml(); } else { // Javascript for the search/selection fields