MDL-42617 Add support for frozen fields in searchableselector form elements

This commit is contained in:
Juan Leyva
2013-10-31 11:49:14 +01:00
parent 75d8d06ffb
commit e5663dfd70
+1 -1
View File
@@ -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