Workaround for #4786

This commit is contained in:
Jörn Zaefferer 2009-08-18 19:22:25 +00:00
parent b2b82e07fb
commit 4f6dd319e9

View File

@ -10,11 +10,21 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
var stop = false;
$("#accordion h3").click(function(event) {
if (stop) {
event.stopImmediatePropagation();
stop = false;
}
});
$("#accordion").accordion({
header: "> div > h3"
}).sortable({
axis: "y",
handle: "h3"
handle: "h3",
stop: function(event, ui) {
stop = true;
}
});
});
</script>