- Bug #5309: fixed - the drag&drop sort function does not work in cmsms 1.8.2
- prevent error when saving a gallery with only subgalleries in it