Permalink
Browse files

MDL-42617 Add support for frozen fields in searchableselector form el…

…ements
  • Loading branch information...
1 parent 75d8d06 commit e5663dfd7051e8494ecd1117c8fd38d61dbc2642 @jleyva jleyva committed Oct 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/form/searchableselector.php
@@ -64,7 +64,7 @@ function MoodleQuickForm_searchableselector($elementName=null, $elementLabel=nul
*/
function toHtml(){
global $OUTPUT;
- if ($this->_hiddenLabel){
+ if ($this->_hiddenLabel || $this->_flagFrozen) {
return parent::toHtml();
} else {
// Javascript for the search/selection fields

0 comments on commit e5663df

Please sign in to comment.