Difference between revisions of "Widget:Homepage"
From LINKS Community Center
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 15:05, 20 June 2022
Development verstion of the DCT Homepage.
Not ready for production!