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

This commit is contained in:
Juan Leyva 2013-10-31 11:18:24 +01:00
parent 68291f2d57
commit 00461045a9

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