mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
fixed unterminated JS statements
This commit is contained in:
parent
42d121d7ba
commit
d306751695
5 changed files with 23 additions and 23 deletions
|
@ -3,7 +3,7 @@ M.form_url = {};
|
|||
M.form_url.init = function(Y, options) {
|
||||
options.formcallback = M.form_url.callback;
|
||||
if (!M.core_filepicker.instances[options.client_id]) {
|
||||
M.core_filepicker.init(Y, options);
|
||||
M.core_filepicker.init(Y, options);
|
||||
}
|
||||
Y.on('click', function(e, client_id) {
|
||||
e.preventDefault();
|
||||
|
@ -14,4 +14,4 @@ M.form_url.init = function(Y, options) {
|
|||
|
||||
M.form_url.callback = function (params) {
|
||||
document.getElementById('id_externalurl').value = params.url;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue