reciprocity/ggrc-core — pull request #2091 by bmomberger-reciprocity (2014-12-05 02:33:53+00:00)
Title: CORE-613 Reject folder selection if the user selects a file instead

Because of a bug in Picker, it's possible for a user to select a file instead of a folder when selecting folders. This PR checks the returned document from Picker for its MIME type and rejects with an error flash if the MIME does not match that of Drive folders.