def __init__(self, parent): AssetEditor.__init__(self, parent) js.jq('#sprite-subimages').sortable({'stop':self.sorted, 'placeholder':'sort-helper'}).droppable({'drop':self.dropImage})