On destroy add destroy focus event

This commit is contained in:
Valeriy 2013-11-26 17:17:57 +06:00
parent bf28ec79ac
commit cd7a37bc63

View File

@ -511,7 +511,7 @@
datetimepicker.remove();
delete datetimepicker;
input.data( 'xdsoft_datetimepicker',null );
input.off( 'enter.xdsoft keyup.xdsoft mousedown.xdsoft open.xdsoft' );
input.off( 'enter.xdsoft keyup.xdsoft mousedown.xdsoft open.xdsoft focus.xdsoft' );
$(window).off('resize.xdsoft');
$(window).off('mousedown.xdsoft keydown.xdsoft');
input.unmousewheel&&input.unmousewheel();