Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3024 closed bug (fixed)

click and dblclick handlers are disabled on sortable elements

Reported by: Jamie McKenzie Owned by: paul
Priority: minor Milestone: 1.5.1
Component: ui.sortable Version: 1.5b4
Keywords: Cc: jamie@…
Blocked by: Blocking:

Description

I am using the sortable plugin on some unsorted list elements and want to call a function on dblclick but the click and dblclick handlers seem to be disabled, onmouseover works like expected.

This is the code I'm using

<script type="text/javascript">
	$(document).ready(function() {
		$("#dialog").dialog().dialog('close'); 
		//$("#dialog").dialog('close'); 
		$(".sections ul").sortable(
			{
				connectWith: [
					"#content_management",
					"#product_management",
					"#customer_services",
					"#fulfillment",
					"#marketing",
					"#reports",
					"#user_management",
					"#system_management"
				], 
				placeholder: "placeholder"
			}
		);

		$('.sections ul li').click(function () {
			$("#dialog").dialog('open');
		});	
		
	});
</script>

Is there a callback I can use or is this a bug.

Thanks

Change History (2)

comment:1 Changed 12 years ago by paul

Resolution: fixed
Status: newclosed

Fixed in the new version and trunk (1.5.1).

comment:2 Changed 12 years ago by paul

Milestone: 1.5.1
Note: See TracTickets for help on using tickets.