Commit 817df15c by Waheed Ahmed

Merge pull request #2967 from edx/waheed/lms2275-fix-html-tab-in-bulk-email-feature

Fixed HTML tab in bulk email feature on firefox.
parents 4385e714 d364a71e
......@@ -96,6 +96,10 @@ class @HTMLEditingDescriptor
$currentTarget = $(e.currentTarget)
if not $currentTarget.hasClass('current')
$currentTarget.addClass('current')
# Initializing $mceToolbar if undefined.
if not @$mceToolbar?
@$mceToolbar = $(@element).find('table.mceToolbar')
@$mceToolbar.toggleClass(HTMLEditingDescriptor.isInactiveClass)
@$advancedEditorWrapper.toggleClass(HTMLEditingDescriptor.isInactiveClass)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment