Zablokowanie eventów drag i draggesture w jquery.resizable.js. Powinno to ostatecznie...
authorzuber <marek@stepniowski.com>
Sat, 22 Aug 2009 12:38:24 +0000 (14:38 +0200)
committerzuber <marek@stepniowski.com>
Sat, 22 Aug 2009 12:38:24 +0000 (14:38 +0200)
project/static/js/jquery.resizable.js

index 44111ee..c77c85b 100644 (file)
@@ -38,7 +38,9 @@
             };
             $(document).mousemove($.resizable.drag).mouseup($.resizable.stop);
             $('body').css('cursor', 'col-resize');
-        }).bind('dragstart', function(event) { event.preventDefault() });
+        }).bind('dragstart', function(event) { event.preventDefault(); })
+          .bind('drag', function(event) { event.preventDefault(); })
+          .bind('draggesture', function(event) { event.preventDefault(); });
     };
 })(jQuery);