From 119463d5abb6622d8e8614d7c18c0eb913442390 Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Mon, 4 Jan 2010 08:33:33 +0000 Subject: [PATCH] "MDL-20204, fixed yui2 js file path" --- calendar/calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/calendar.js b/calendar/calendar.js index bcc7979616..39b7421878 100644 --- a/calendar/calendar.js +++ b/calendar/calendar.js @@ -18,7 +18,7 @@ YAHOO.util.Event.onDOMReady(function () { //TODO: remove this hack MDL-20204 var animationlib = document.createElement('script'); animationlib.setAttribute('type','text/javascript'); - animationlib.setAttribute('src',moodle_cfg.wwwroot+'/lib/yui/2.8.0r4/animation/animation-min.js'); + animationlib.setAttribute('src',moodle_cfg.yui2loaderBase+'/animation/animation-min.js'); document.getElementsByTagName('head')[0].appendChild(animationlib); }); @@ -210,4 +210,4 @@ YAHOO.moodle.container.effects.DELAY = function(overlay, duration) { delay.init(); return delay; -} \ No newline at end of file +} -- 2.39.5