Opened 11 years ago

Closed 7 years ago

#4390 closed bug (worksforme)

Included sortables. Bug with elements positions in IE7.

Reported by: malus Owned by:
Priority: major Milestone: 2.0.0
Component: ui.sortable Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Jörn Zaefferer)

It must be sortable tree with saving parent/child element status. In all another browsers it works correct.

<style>
.treeChild{
margin-left:20px;
}
</style>
<div id="tree">
<ul class="parent">
	<li class="treeParent">parent 1</li>
	<li class="treeChild">child 1_1</li>
	<li class="treeChild">child 1_2</li>
</ul>

<ul class="parent">
	<li class="treeParent">parent 2</li>
	<li class="treeChild">child 2_1</li>
	<li class="treeChild">child 2_2</li>
</ul>
</div>


<script language="JavaScript" type="text/javascript">
	  $( "#tree" ).sortable
			(
				{
				connectWith: "#tree",
				items: 'ul'
				}
			);

		$( ".parent" ).sortable
			(
				{
				connectWith: "#tree .parent",
				items: 'li:not(.treeParent)'
				}
			);
</script>

Change History (5)

comment:1 Changed 10 years ago by Jörn Zaefferer

Description: modified (diff)
Milestone: TBD1.7.2

comment:2 Changed 10 years ago by Jörn Zaefferer

Milestone: 1.7.21.8

comment:3 Changed 9 years ago by Scott González

Priority: criticalmajor

comment:4 Changed 7 years ago by Scott González

Milestone: 1.9.02.0.0

comment:5 Changed 7 years ago by mikesherov

Resolution: worksforme
Status: newclosed

Thanks for taking the time to contribute to the jQuery UI project! I can no longer reproduce the issue using the latest jQuery and jQuery UI. http://jsfiddle.net/t79w6/

If you can still reproduce it, please feel free to reply to this ticket with a test case showing the problem. Thanks!

Note: See TracTickets for help on using tickets.