frankmullenger/silverstripe-gallery — pull request #4 by thezenmonkey (2013-08-04 01:55:09+00:00)
Title: Fixed issue with using field in a page managed by ModelAdmin

When using a ModelAdmin to manage GalleryPages looking for Controller::curr() returns the ModalAdmin instead of the required controller. I suggest pushing the ID the to the GalleryUploadField_ItemHandler since it the correct ID is still availabe at that point