Input’s not editable after using Jquery Sortable

fry_coffeeJquery, I love it.

Here’s a little gotcha that I often overlook – especially when copy/pasting from the Sortable example.

If you have applied:

$( "#sortable" ).disableSelection();

Then when you finish your sorting, you won’t be able to edit any input boxes – yet check boxes and radios will still work.

The solution is mighty simple:

$( "#sortable" ).enableSelection();