throw new quoting behind flags
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
10c6f24a83
commit
54a9ccdee7
|
@ -170,10 +170,17 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
onQuoteClick: function() {
|
onQuoteClick: function() {
|
||||||
dis.dispatch({
|
if (SettingsStore.isFeatureEnabled("feature_rich_quoting")) {
|
||||||
action: 'quote_event',
|
dis.dispatch({
|
||||||
event: this.props.mxEvent,
|
action: 'quote_event',
|
||||||
});
|
event: this.props.mxEvent,
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
dis.dispatch({
|
||||||
|
action: 'quote',
|
||||||
|
text: this.props.eventTileOps.getInnerText(),
|
||||||
|
});
|
||||||
|
}
|
||||||
this.closeMenu();
|
this.closeMenu();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue