diff options
author | awgy <josh.varner@gmail.com> | 2010-11-03 02:45:47 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-11-09 09:52:24 -0500 |
commit | e2a693ba78be5a8d9bbe0b55e48d82860a1bbdc3 (patch) | |
tree | d78d3e6378983f473c0e90ec85f0a9c062d84a06 /tests/jquery.simulate.js | |
parent | 412d1aa1c9ac0a8a933710fef6d233a061fb9d13 (diff) | |
download | jquery-ui-e2a693ba78be5a8d9bbe0b55e48d82860a1bbdc3.tar.gz jquery-ui-e2a693ba78be5a8d9bbe0b55e48d82860a1bbdc3.zip |
Mouse: tie the preventClickEvent property to the event target, not the container. Fixes #4752 - link event firing on sortable with connect list
Diffstat (limited to 'tests/jquery.simulate.js')
-rw-r--r-- | tests/jquery.simulate.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/jquery.simulate.js b/tests/jquery.simulate.js index 3e7ca1090..81d7f62bf 100644 --- a/tests/jquery.simulate.js +++ b/tests/jquery.simulate.js @@ -120,6 +120,7 @@ $.extend($.simulate.prototype, { this.simulateEvent(document, "mousemove", coord); this.simulateEvent(document, "mousemove", coord); this.simulateEvent(target, "mouseup", coord); + this.simulateEvent(target, "click", coord); }, findCenter: function(el) { var el = $(this.target), o = el.offset(); |