mirror of
https://github.com/wekan/wekan.git
synced 2026-02-18 14:08:06 +01:00
Removing Debug Lines, correcting behavior, caching las valide filter, and adding description
This commit is contained in:
parent
256ca129f0
commit
dd7c9997a9
4 changed files with 10 additions and 9 deletions
|
|
@ -56,7 +56,9 @@ template(name="filterSidebar")
|
|||
if Filter.customFields.isSelected _id
|
||||
i.fa.fa-check
|
||||
hr
|
||||
span {{_ 'advanced-filter-label}}
|
||||
input.js-field-advanced-filter(type="text")
|
||||
span {{_ 'advanced-filter-description'}}
|
||||
if Filter.isActive
|
||||
hr
|
||||
a.sidebar-btn.js-clear-all
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ BlazeComponent.extendComponent({
|
|||
Filter.customFields.toggle(this.currentData()._id);
|
||||
Filter.resetExceptions();
|
||||
},
|
||||
'input .js-field-advanced-filter'(evt) {
|
||||
'change .js-field-advanced-filter'(evt) {
|
||||
evt.preventDefault();
|
||||
Filter.advanced.set(this.find('.js-field-advanced-filter').value.trim());
|
||||
Filter.resetExceptions();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue