// event forwarding
WCF.System.Event.addListener('com.woltlab.wcf.message.quote', 'insert', (function(data) {
+ //noinspection JSUnresolvedVariable
WCF.System.Event.fireEvent('com.woltlab.wcf.redactor2', 'insertQuote_' + (this._editorIdAlternative ? this._editorIdAlternative : this._editorId), {
author: data.quote.username,
content: data.quote.text,
- isText: true,
+ isText: !data.quote.isFullQuote,
link: data.quote.link
});
}).bind(this));
var message = listItem.parents('.message:eq(0)');
var author = message.data('username');
var link = message.data('link');
- var isText = elData(listItem[0], 'is-full-quote');
+ var isText = !elDataBool(listItem[0], 'is-full-quote');
WCF.System.Event.fireEvent('com.woltlab.wcf.redactor2', 'insertQuote_' + (this._editorIdAlternative ? this._editorIdAlternative : this._editorId), {
author: author,