From: Dongsheng Cai <unoter@gmail.com>
Date: Mon, 4 Jan 2010 08:33:33 +0000 (+0000)
Subject: "MDL-20204, fixed yui2 js file path"
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=119463d5abb6622d8e8614d7c18c0eb913442390;p=moodle.git

"MDL-20204, fixed yui2 js file path"
---

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
+}