[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 M.form_url = {}; 2 3 M.form_url.init = function(Y, options) { 4 options.formcallback = M.form_url.callback; 5 if (!M.core_filepicker.instances[options.client_id]) { 6 M.core_filepicker.init(Y, options); 7 } 8 Y.on('click', function(e, client_id) { 9 e.preventDefault(); 10 M.core_filepicker.instances[client_id].show(); 11 }, '#filepicker-button-'+options.client_id, null, options.client_id); 12 13 }; 14 15 M.form_url.callback = function (params) { 16 document.getElementById('id_externalurl').value = params.url; 17 };
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |