[英]elfinder module throws jquery error in drupal 7
I have installed elfinder module in drupal 7 but it throws jQuery error when we loading elfinder page but file handling functionalities fine. 我已经在drupal 7中安装了elfinder模块,但是在加载elfinder页面时会抛出jQuery错误,但是文件处理功能很好。 Also icons in elfinder not aligned properly.
另外,elfinder中的图标未正确对齐。
Click here for elfinder icons issue . 单击此处查找elfinder图标 。
TypeError: $(...).once is not a function
TypeError:$(...)。once不是函数
$('.colorbox', context)$('。colorbox',上下文)
Thanks in advance. 提前致谢。
You have to define $ 您必须定义$
(function($){
$(document).ready(function(){
var context = $('body'); // or what you want
$('.colorbox', context).dowhatyouwant();
});
})(jQuery.noConflict());
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.