mirror of
https://github.com/moodle/moodle.git
synced 2025-07-23 23:31:58 +02:00
"MDL-21170, comment system upgraded to yui3"
This commit is contained in:
@@ -14,10 +14,6 @@ M.yui.add_module = function(modules) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
// old JS functions, to be converted soon
|
||||
|
||||
function launch_filemanager(options) {
|
||||
Y.use('core_filemanager', function() {
|
||||
var client_id = options.client_id;
|
||||
@@ -28,6 +24,14 @@ function launch_filemanager(options) {
|
||||
});
|
||||
}
|
||||
|
||||
function initialize_comment(options) {
|
||||
Y.use('core_comment', function() {
|
||||
new M.core_comment(options);
|
||||
});
|
||||
}
|
||||
|
||||
// old JS functions, to be converted soon
|
||||
|
||||
// === old legacy JS code, hopefully to be replaced soon by M.xx.yy and YUI3 code ===
|
||||
|
||||
function popupchecker(msg) {
|
||||
@@ -1424,4 +1428,4 @@ function get_image_url(imagename, component) {
|
||||
|
||||
function submitFormById(id) {
|
||||
submit_form_by_id(null, {id: id});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user