Skip to main content

Search and Top Navigation

#3024 closed bug (fixed)

Opened June 25, 2008 01:15AM UTC

Closed June 26, 2008 06:59PM UTC

Last modified June 26, 2008 06:59PM UTC

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@agentdesign.co.uk
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

Attachments (0)
Change History (2)

Changed June 26, 2008 06:59PM UTC by paul comment:1

resolution: → fixed
status: newclosed

Fixed in the new version and trunk (1.5.1).

Changed June 26, 2008 06:59PM UTC by paul comment:2

milestone: → 1.5.1