我有一个Moodle2.9.1是从另一个服务器迁移过来的代码错误是意外的输入结束。rollup/3.17.2/yui-moodlesimple.js&rollup/1452167486/mcore-debug.js:13709:24) at Y.CustomEvent.rollup/3.17.2/yui-moodlesimple.js&rollup/
我遇到了一个关于moodle的问题,当我试图在添加问题页面上传像docx,xlsx这样的文件时,我在控制台上得到了以下错误: Uncaught DOMException: Blocked a framerollup/3.13.0/yui-moodlesimple.js:30339:24)
at Y_Node._get (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodle
我目前正在触发一个YUI自定义事件,在一组rest调用完成之后。禁用加载栏的函数订阅自定义事件。下面是一些伪代码:event.fireOnce = true; //I don't need to fire this假设现在我不想弹出一个错误,有没有更好的方法呢?我的Javascript/YUI knowledge is...limited。如果有什么需要澄清