mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
MDL-34741 use 2in3 in some user TreeView
This commit is contained in:
parent
dbbc5e834b
commit
080d05752e
@ -35,7 +35,7 @@ M.core_user.init_participation = function(Y) {
|
||||
|
||||
M.core_user.init_tree = function(Y, expand_all, htmlid) {
|
||||
Y.use('yui2-treeview', function(Y) {
|
||||
var tree = new YAHOO.widget.TreeView(htmlid);
|
||||
var tree = new Y.YUI2.widget.TreeView(htmlid);
|
||||
|
||||
tree.subscribe("clickEvent", function(node, event) {
|
||||
// we want normal clicking which redirects to url
|
||||
|
Loading…
x
Reference in New Issue
Block a user