mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-50484 lib_formslib: Persistant input should have different id
Persistant input is appended for frozen elements and should have different id then the actual element
This commit is contained in:
parent
2aacd415e1
commit
1ebda3eb8c
7 changed files with 83 additions and 5 deletions
|
@ -130,5 +130,4 @@ class MoodleQuickForm_advcheckbox extends HTML_QuickForm_advcheckbox{
|
|||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -124,5 +124,4 @@ class MoodleQuickForm_text extends HTML_QuickForm_text{
|
|||
function getHelpButton(){
|
||||
return $this->_helpbutton;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -119,7 +119,7 @@ class MoodleQuickForm_url extends HTML_QuickForm_text{
|
|||
if (count($options->repositories) > 0) {
|
||||
$straddlink = get_string('choosealink', 'repository');
|
||||
$str .= <<<EOD
|
||||
<button id="filepicker-button-{$client_id}" class="visibleifjs">
|
||||
<button id="filepicker-button-js-{$client_id}" class="visibleifjs">
|
||||
$straddlink
|
||||
</button>
|
||||
EOD;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue