Forum Discussion
cike
11 years agoChampion
Hey JoeyMcDaniel ,
I had the same problem you described above.
I solved the problem by adding a small piece of JavaScript to my custom search component which listens for the keyup-event.
$("#lia-body .lia-content .lia-search-input-message").keyup(function(e) {
if(e.which == 13) { var search_text = $(this).val(); if (search_text) { var search_text_en = encodeURI(search_text); var search_url = "/t5/forums/searchpage/tab/message?q=" + search_text_en;
window.open(search_url, "_self"); } }
}
I build the search url myself and pass this value to the window.open() function.
Best regards
Christian
Related Content
- 2 years ago
- 2 years ago
- 11 years ago