remove unused code for form name
This commit is contained in:
@@ -50,9 +50,6 @@ export default class ChatMessage extends React.Component {
|
|||||||
if (e.target.dataset.act == 'url') {
|
if (e.target.dataset.act == 'url') {
|
||||||
data.ref = '' + e.target.dataset.ref;
|
data.ref = '' + e.target.dataset.ref;
|
||||||
}
|
}
|
||||||
if (e.target.dataset.formname) {
|
|
||||||
data.name = '' + e.target.dataset.formname;
|
|
||||||
}
|
|
||||||
const text = e.target.dataset.title || 'unknown';
|
const text = e.target.dataset.title || 'unknown';
|
||||||
this.props.onFormResponse(e.target.dataset.act, text, data);
|
this.props.onFormResponse(e.target.dataset.act, text, data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user