Kod
$columns.sortable({
items: '.homebox-portlet.homebox-draggable',
handle: '.portlet-header',
connectWith: $columns,
revert: true,
placeholder: 'homebox-placeholder',
forcePlaceholderSize: true,
stop: function() {
console.log('koniec sortowania');
}
});
items: '.homebox-portlet.homebox-draggable',
handle: '.portlet-header',
connectWith: $columns,
revert: true,
placeholder: 'homebox-placeholder',
forcePlaceholderSize: true,
stop: function() {
console.log('koniec sortowania');
}
});
sortowanie działa bez problemu, ale w żaden sposób nie mogę wywołać funkcji po sortowaniu, po prostu nic się nie dzieje, w konsoli firebuga nie mam żadnych błedów. ktoś ma pomysł jak to ugryźć? (jquery w wersji 1.3.2)