MDL-34741 use 2in3 in some user TreeView

This commit is contained in:
Petr Škoda 2012-08-05 23:49:28 +02:00
parent dbbc5e834b
commit 080d05752e

View File

@ -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