mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-26167 lib/form: Altering Javascript so that "disabledIf" will disable the "Choose" button for a filepicker
This commit is contained in:
parent
91787c37e1
commit
4b72f9eb78
4 changed files with 22 additions and 2 deletions
|
@ -57,6 +57,7 @@ class file_picker implements renderable {
|
|||
'itemid' => 0,
|
||||
'maxbytes'=>-1,
|
||||
'maxfiles'=>1,
|
||||
'buttonname'=>false,
|
||||
);
|
||||
foreach ($defaults as $key=>$value) {
|
||||
if (empty($options->$key)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue