使用nestedsortable插件的JQuery Conflicts

时间:2012-08-15 10:48:04

标签: jquery jquery-ui

我在我的网站中使用jquery嵌套可排序插件来实现拖放功能。我的主要布局中包含一些Javascript,这会产生拖放问题。 包含的JS文件是

<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/jq/jquery-1.7.2.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/jquery.dropdownPlain.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/ui.core.pack.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/ui.tabs.pack.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/tools.scrollable.pack.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/tools.scrollable.circular.pack.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/tools.scrollable.navigator.pack.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/tools.scrollable.autoscroll.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/tools.tabs-1.0.4.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/jquery.color.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/jquery.panda.js') }}"></script> 
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/theblock/jquery.prettyPhoto.js') }}"></script>

<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/jq/jquery-ui-1.8.21.custom.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/nestedsortable.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/munichinnovationgroup/js/dragdrop.js') }}"></script>

当我尝试拖动项目时,我在控制台中看到此错误

TypeError: this.helper.scrollParent is not a function 

in jquery-ui-1.8.21.custom.min.js(第37行)

知道哪个文件正在创建冲突以及如何删除它

感谢

0 个答案:

没有答案