Skip to content
Snippets Groups Projects
Unverified Commit 3eb2b869 authored by Michael Große's avatar Michael Große
Browse files

fix: readd div with no-class to tpl_searchform

Quick-search positioning and other templates break when removing this
tag.
parent e5bf110d
No related branches found
No related tags found
No related merge requests found
......@@ -668,6 +668,7 @@ function tpl_searchform($ajax = true, $autocomplete = true) {
'class' => 'search',
'id' => 'dw__search',
]);
$searchForm->addTagOpen('div')->addClass('no');
$searchForm->setHiddenField('do', 'search');
$searchForm->setHiddenField('from', $ID);
$searchForm->addTextInput('id')
......@@ -690,6 +691,7 @@ function tpl_searchform($ajax = true, $autocomplete = true) {
$searchForm->addTagOpen('div')->id('qsearch__out')->addClass('ajax_qsearch JSpopup');
$searchForm->addTagClose('div');
}
$searchForm->addTagClose('div');
echo $searchForm->toHTML();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment