Merge branch 'wip-MDL-36341-m24' of git://github.com/samhemelryk/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2012-12-06 02:24:47 +01:00
commit ee22329a90

View File

@ -101,8 +101,10 @@ YUI.add('moodle-calendar-eventmanager', function(Y) {
},
node : {
setter : function(node) {
var n = Y.one('#'+node);
return n;
if (typeof(node) === 'string') {
node = Y.one('#'+node);
}
return node;
}
},
title : {