diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index d698ebf95..d6d076f93 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -393,6 +393,7 @@ class NewHeader extends Component { // } } onSearchhref = (value) => { + console.log(value); window.location.href ="/search?value="+value; // let code = e.keyCode; @@ -728,8 +729,7 @@ submittojoinclass=(value)=>{ > this.onSearchhref(value)} - + onSearch={value =>this.onSearchhref(value)} onPressEnter={this.onKeywordSearchKeyDown} style={{ width: 300 }} />