Widget: Homepage: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 110: | Line 110: | ||
event.preventDefault(); | event.preventDefault(); | ||
const searchString = document.getElementById('hp-search-input').value; | const searchString = document.getElementById('hp-search-input').value; | ||
window.location.assign('/index.php?search=' + searchString + '&title=Special%3ASearch&profile=default&fulltext=1'); | window.location.assign('/index.php?search=' + encodeURIComponent(searchString) + '&title=Special%3ASearch&profile=default&fulltext=1'); | ||
} | } | ||
</script> | </script> |
Revision as of 14:05, 20 June 2022
Development verstion of the DCT Homepage.
Not ready for production!