Merge branch 'MDL-42617' of git://github.com/jleyva/moodle

This commit is contained in:
Marina Glancy 2013-11-04 16:14:35 +11:00
commit 753ce05b8c

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