From c3694f3c7912e1b8dd32c83b6d111af6d9412d8f Mon Sep 17 00:00:00 2001 From: zuber Date: Sat, 22 Aug 2009 14:38:24 +0200 Subject: [PATCH 1/1] =?utf8?q?Zablokowanie=20event=C3=B3w=20drag=20i=20dra?= =?utf8?q?ggesture=20w=20jquery.resizable.js.=20Powinno=20to=20ostatecznie?= =?utf8?q?=20wyeliminowa=C4=87=20b=C5=82=C4=85d=20risajzowania=20w=20Firef?= =?utf8?q?ox=20<=203.5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- project/static/js/jquery.resizable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/static/js/jquery.resizable.js b/project/static/js/jquery.resizable.js index 44111ee9..c77c85b4 100644 --- a/project/static/js/jquery.resizable.js +++ b/project/static/js/jquery.resizable.js @@ -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); -- 2.20.1