Skip to main content

Search and Top Navigation

#2686 closed bug (fixed)

Opened April 14, 2008 03:42PM UTC

Closed April 17, 2008 01:14PM UTC

Last modified February 26, 2009 11:27AM UTC

Sortable bug

Reported by: sheraz Owned by: paul
Priority: major Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

If i apply sortable to any list then that element or any of its child elements cannot fire click event. See the sample code below. The click event works fine if i comment out the sortable line.

<ul id="testUL">

<li>

A

<ul>

<li>A.1</li>

<li>A.2</li>

<li>A.3</li>

</ul>

</li>

<li>B</li>

<li>C</li>

</ul>

$("#testUL").sortable({});

$("#testUL").click(function() { console.log("test has been clicked"); } );

Any advise on that champs ?

Attachments (0)
Change History (5)

Changed April 14, 2008 04:18PM UTC by sheraz comment:1

I forgot to mention one thing in my post - i am using latest version of JQuery (1.2.3) & UI (1.5b). I think the problem is with the "ui.sortable.js" from version 1.5b because if i replace this file by the following two files (1) http://dev.jquery.com/view/tags/ui/1.0.1a/ui.sortable.js (2) http://dev.jquery.com/view/tags/ui/1.0.1a/ui.mouse.js then the click event starts working correctly. I hope this will help you in figuring out the problem.

Changed April 14, 2008 06:51PM UTC by dmclain comment:2

Can you please CC Me on this ticket? I have the same problem.

dmclain@expressdynamics.com

Thanks!!

Changed April 17, 2008 01:14PM UTC by paul comment:3

resolution: → fixed
status: newclosed

Changed May 24, 2008 03:39AM UTC by comment:4

milestone: 1.2.3

Milestone 1.2.3 deleted

Changed February 26, 2009 11:27AM UTC by paul comment:5

milestone: → 1.5