Hello everybody!
I'm upgrading a module from moodle 1.8.13 to moodle 1.9.11 and I have a problem with YUI.
They appear to me all the time this two messages:
YAHOO.util.CustomEvent is not a constructor
YAHOO.util.Connect is undefined
In my code I have this:
require_once($CFG->libdir.'/ajax/ajaxlib.php');
require_js('yui_yahoo');
require_js('yui_dom');
require_js('yui_connection');
require_js($CFG->wwwroot.'/mod/evalgroupmanager/evalgroupmanager.js');
I dont know what do I have worng but I was looking all over the forums and YUI website and I didnt find anything that works.
Could you help me with this?What can it be?
Thank you very much beforehand!