edx/edx-platform — pull request #4422 by muhammad-ammar (2014-07-15 07:15:27+00:00)
Title: Add promise to ensure unit visibility is changed

Added Promise to wait until Edit button is visible/invisible after changing unit visibility.

@auraz @polesye @jzoldak