Commit 6f6389d7 authored by Karl Hasselbring's avatar Karl Hasselbring

Fixed: Hidden fields sind jetzt hidden

parent 298e948b
......@@ -362,11 +362,11 @@ function loadFocusForSearch (focus) {
}
function clearCustomSearch () {
$('.custom-search-hidden').empty();
$('.search-custom-hidden').empty();
}
function addSumaToCustomSearch (sumaId) {
$('.custom-search-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">');
$('.search-custom-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">');
}
function getFocusInUrl () {
......
......@@ -362,11 +362,11 @@ function loadFocusForSearch (focus) {
}
function clearCustomSearch () {
$('.custom-search-hidden').empty();
$('.search-custom-hidden').empty();
}
function addSumaToCustomSearch (sumaId) {
$('.custom-search-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">');
$('.search-custom-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">');
}
function getFocusInUrl () {
......
......@@ -81,6 +81,9 @@
.search-hidden {
display: none;
}
.search-custom-hidden {
display: none;
}
@media (max-width: @screen-xs-max) {
flex-direction: column-reverse;
}
......
......@@ -63,7 +63,7 @@
<input type="hidden" name="theme" value={{ $theme }}>
@endif
</div>
<div class="custom-search-hidden"></div>
<div class="search-custom-hidden"></div>
</div>
</form>
</fieldset>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment