Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
open-source
MetaGer
Commits
a868c838
Commit
a868c838
authored
Nov 14, 2017
by
Karl Hasselbring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: Hidden fields sind jetzt hidden
parent
0ae2e865
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
public/js/searchbar.js
public/js/searchbar.js
+2
-2
resources/assets/js/searchbar.js
resources/assets/js/searchbar.js
+2
-2
resources/assets/less/metager/searchbar.less
resources/assets/less/metager/searchbar.less
+3
-0
resources/views/parts/searchbar.blade.php
resources/views/parts/searchbar.blade.php
+1
-1
No files found.
public/js/searchbar.js
View file @
a868c838
...
...
@@ -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
()
{
...
...
resources/assets/js/searchbar.js
View file @
a868c838
...
...
@@ -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
()
{
...
...
resources/assets/less/metager/searchbar.less
View file @
a868c838
...
...
@@ -81,6 +81,9 @@
.search-hidden {
display: none;
}
.search-custom-hidden {
display: none;
}
@media (max-width: @screen-xs-max) {
flex-direction: column-reverse;
}
...
...
resources/views/parts/searchbar.blade.php
View file @
a868c838
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment