Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_mail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_mail
Commits
62510687
Commit
62510687
authored
7 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Reset input fields from filter
parent
8a5a8073
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3
New version 4 1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Resources/Private/Partials/Queue/Filter.html
+3
-3
3 additions, 3 deletions
Resources/Private/Partials/Queue/Filter.html
Resources/Public/Scripts/Backend.js
+2
-1
2 additions, 1 deletion
Resources/Public/Scripts/Backend.js
with
5 additions
and
4 deletions
Resources/Private/Partials/Queue/Filter.html
+
3
−
3
View file @
62510687
...
...
@@ -4,7 +4,7 @@
<div
class=
"col-xs-12 col-md-4"
>
<div
class=
"form-group"
>
<label
for=
"filter-search"
><f:translate
key=
"backend.filter.search"
/></label>
<f:form.textfield
class=
"form-control"
property=
"filterSearch"
id=
"filter-search"
/>
<f:form.textfield
class=
"
reset-me
form-control"
property=
"filterSearch"
id=
"filter-search"
/>
</div>
<div
class=
"form-group"
>
<label
for=
"filterTemplate"
><f:translate
key=
"backend.filter.template"
/></label>
...
...
@@ -63,7 +63,7 @@
<f:translate
key=
"backend.filter.date_from"
/>
</label>
<div
class=
"form-control-clearable"
>
<f:form.textfield
property=
"filterFromDate"
id=
"filter-from-date"
data=
"{date-type: 'datetime'}"
class=
"form-control t3js-datetimepicker t3js-clearable hasDefaultValue"
/>
<f:form.textfield
property=
"filterFromDate"
id=
"filter-from-date"
data=
"{date-type: 'datetime'}"
class=
"
reset-me
form-control t3js-datetimepicker t3js-clearable hasDefaultValue"
/>
<button
type=
"button"
class=
"close"
tabindex=
"-1"
aria-hidden=
"true"
style=
"display: none;"
>
<span
class=
"fa fa-times"
></span>
</button>
...
...
@@ -83,7 +83,7 @@
<f:translate
key=
"backend.filter.date_to"
/>
</label>
<div
class=
"form-control-clearable"
>
<f:form.textfield
property=
"filterToDate"
id=
"filter-to-date"
data=
"{date-type: 'datetime'}"
class=
"form-control t3js-datetimepicker t3js-clearable hasDefaultValue"
/>
<f:form.textfield
property=
"filterToDate"
id=
"filter-to-date"
data=
"{date-type: 'datetime'}"
class=
"
reset-me
form-control t3js-datetimepicker t3js-clearable hasDefaultValue"
/>
<button
type=
"button"
class=
"close"
tabindex=
"-1"
aria-hidden=
"true"
style=
"display: none;"
>
<span
class=
"fa fa-times"
></span>
</button>
...
...
This diff is collapsed.
Click to expand it.
Resources/Public/Scripts/Backend.js
+
2
−
1
View file @
62510687
...
...
@@ -43,7 +43,8 @@
this
.
selectedIndex
=
0
;
});
$
(
'
#filters-all
'
).
attr
(
'
checked
'
,
true
);
$
(
'
.reset-me
'
).
val
(
''
);
$
(
'
#filters-all
'
).
attr
(
'
checked
'
,
true
);
this
.
form
.
submit
();
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment