mjsarfatti/nestedSortable — pull request #14 by tomasm- (2012-02-04 13:47:43+00:00)
Title: Fixing rootID to pass an empty string to serialize(), and isAllowed() to pass item in question

serialize() should convert rootID to empty string so MySQL doesn't interpret the string 'null' as 0 (empty string gets interpreted as NULL, as expected).

isAllowed() should pass the item being moved so we can restrict placement, ie not moving to a new parent if we just want to sort items amongst each other.