mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
MDL-36341 calendar: fixed JS bug with popup node setter
This commit is contained in:
parent
47dfbd9eb3
commit
cc52e16c4a
6
calendar/yui/eventmanager/eventmanager.js
vendored
6
calendar/yui/eventmanager/eventmanager.js
vendored
@ -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 : {
|
||||
|
Loading…
x
Reference in New Issue
Block a user