mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-42617 Add support for frozen fields in searchableselector form elements
This commit is contained in:
parent
68291f2d57
commit
00461045a9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user