| Issue 1124: | Conflict with other plugin that use .resize() | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I'm using FullCallendar with the Date Picker plugin by Keith Wood. http://keith-wood.name/datepick.html The problem arises when the date picker plugin is just loaded (doesn't need to be initalised/working) and when you go to resize a calendar event. Uncaught TypeError: Cannot read property 'nodeName' of undefined. The code which causes this error is at the bottom of the date picker plugin: $(function() { $(document).mousedown($.datepick._checkExternalClick). resize(function() { $.datepick.hide($.datepick.curInst); }); }); Change to: $(function() { $(document).mousedown($.datepick._checkExternalClick); //.resize(function() { $.datepick.hide($.datepick.curInst); }); }); Don't get the problem any more but the date picker no longer hides on window resize. I am guessing this maybe an issue with other plugins that use document.resize.
Oct 2, 2011
Project Member
#1
adamrs...@gmail.com
Status:
Done
Apr 16, 2015
very helpful. in my case I had conflict with jquery.datepick.js Just remove it and worked like charm. :) Thanks a lot. |
|
| ► Sign in to add a comment |