Skip to content
Browse files

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

…ements
  • Loading branch information...
1 parent 67d4599 commit 119faec0546c34a8a55085adf4ed0e5140cda8ff @jleyva jleyva committed Oct 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/form/searchableselector.php
View
2 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 119faec

Please sign in to comment.
Something went wrong with that request. Please try again.