mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-53888 mod_url: Choose a link option now works.
Fixed a regression from MDL-50484.
This commit is contained in:
parent
d72fd8e28a
commit
1a9068ae01
@ -8,8 +8,7 @@ M.form_url.init = function(Y, options) {
|
||||
Y.on('click', function(e, client_id) {
|
||||
e.preventDefault();
|
||||
M.core_filepicker.instances[client_id].show();
|
||||
}, '#filepicker-button-'+options.client_id, null, options.client_id);
|
||||
|
||||
}, '#filepicker-button-js-'+options.client_id, null, options.client_id);
|
||||
};
|
||||
|
||||
M.form_url.callback = function (params) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user