brickfield / moodle-block_accessibility

Accessibility tools for Moodle, including ATbar from Southapton University ECS
19 stars 34 forks source link

BUGFIX: 'io:complete' was executed outside the block as well causing con... #86

Closed hrvojegolcic closed 9 years ago

hrvojegolcic commented 9 years ago

Y.on('io:complete', M.block_accessibility.hide_loading); This triggers even for IO actions outside the block causing conflicts to other components. The bug caused the script to break while loading chat session because trial of hiding #loader icon that doesn't exists in case of hidden block. This solves #83

Thanks to @jheenan for reporting it.