openedx / xblock-image-explorer

GNU Affero General Public License v3.0
9 stars 39 forks source link

Close popup when clicking outside it #16

Closed bradenmacdonald closed 10 years ago

bradenmacdonald commented 10 years ago

This change is similar to edx-solutions/xblock-drag-and-drop-v2#13 . Now when users have revealed a popup using the image explorer branch, they can click on either the "X" button or anywhere outside of the popup in order to close it.

Tested in the xblock-sdk and the devstack edx-platform.

dragonfi commented 10 years ago

Apart from the commented-out-but-not-removed code, it Looks Good To Me.

bradenmacdonald commented 10 years ago

Ok, removed that line. Thx.

antoviaque commented 10 years ago

Thanks for the fix and the review!