var messageBody = elBySel('.messageBody', element);
var messageFooter = elBySel('.messageFooter', element);
+ var messageHeader = elBySel('.messageHeader', element);
this._elements.set(element, {
button: button,
messageBodyEditor: null,
messageFooter: messageFooter,
messageFooterButtons: elBySel('.messageFooterButtons', messageFooter),
+ messageHeader: messageHeader,
messageText: elBySel('.messageText', messageBody)
});
}
this._save();
}).bind(this));
- // hide message options
+ // hide message header and footer
+ elHide(elementData.messageHeader);
elHide(elementData.messageFooter);
var editorElement = elById(id);
elShow(elementData.messageBody);
elShow(elementData.messageFooter);
+ elShow(elementData.messageHeader);
this._activeElement.classList.remove('jsInvalidQuoteTarget');
this._activeElement = null;