fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4414d3a
)
Zablokowanie eventów drag i draggesture w jquery.resizable.js. Powinno to ostatecznie...
author
zuber
<marek@stepniowski.com>
Sat, 22 Aug 2009 12:38:24 +0000
(14:38 +0200)
committer
zuber
<marek@stepniowski.com>
Sat, 22 Aug 2009 12:38:24 +0000
(14:38 +0200)
project/static/js/jquery.resizable.js
patch
|
blob
|
history
diff --git
a/project/static/js/jquery.resizable.js
b/project/static/js/jquery.resizable.js
index
44111ee
..
c77c85b
100644
(file)
--- 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);