Opened 14 years ago
Closed 10 years ago
#4123 closed bug (invalid)
Problem dragabble/droppable ie link Optionen
Reported by: | designerno1 | Owned by: | designerno1 |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.droppable | Version: | 1.6rc6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi there we have a problem we have a draggable that contains a link
<div class="dragdrop"><a class="buy_drag" href="somelink.html"><img src="somesrc" /></div></div>
the click is returned false but the drop execute that click or the
href and i don't know why
when the draggable is in the droppable and the mousebutton is released the href ist executed by it selfe don't know why
$('.buy_drag').live('click',function(){return false;});
$(".dragdrop").draggable({revert: 'invalid', helper:'clone'});
makes it draggable
$("#putin_cart").droppable({
accept: '.dragdrop', drop: function(ev, ui) {
do something
}
});
makes the droppable zone
firefox handels all right but if you drag the element in IE and put it on the droppable zone the link in the a href is executed
if i remove the helper:'clone' option it works.
or if i make an alert in the drop: function(){alert('fsd');}
if i remove the revert: 'invalid' the a href is executed even if the draggable isn't in droppable and the mousebutton is released
Change History (5)
comment:1 Changed 14 years ago by
Milestone: | TBD → 1.6 |
---|
comment:2 Changed 14 years ago by
Milestone: | 1.7 → 1.8 |
---|
comment:3 Changed 10 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:4 Changed 10 years ago by
Owner: | set to designerno1 |
---|---|
Status: | new → pending |
comment:5 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Thanks for taking the time to contribute to the jQuery UI project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the git version of both jQuery UI and jQuery to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/ZgAqH/ Open the link and click to "Fork" (in the top menu) to get started.