diff options
author | IgnatzHome <ignatz@maschath.de> | 2018-05-20 14:53:00 +0200 |
---|---|---|
committer | IgnatzHome <ignatz@maschath.de> | 2018-05-20 14:53:00 +0200 |
commit | dd7c9997a937fde0c598188884db6690e77bfb11 (patch) | |
tree | b5c74ac10dabe4eaf5544b7f2a8a4a6440615fa9 /client/components | |
parent | 256ca129f0301765ce1b2522c9e4aef68eda9e8c (diff) | |
download | wekan-dd7c9997a937fde0c598188884db6690e77bfb11.tar.gz wekan-dd7c9997a937fde0c598188884db6690e77bfb11.tar.bz2 wekan-dd7c9997a937fde0c598188884db6690e77bfb11.zip |
Removing Debug Lines, correcting behavior, caching las valide filter, and adding description
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/sidebar/sidebarFilters.jade | 2 | ||||
-rw-r--r-- | client/components/sidebar/sidebarFilters.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/client/components/sidebar/sidebarFilters.jade b/client/components/sidebar/sidebarFilters.jade index 00d8c87b..c0696391 100644 --- a/client/components/sidebar/sidebarFilters.jade +++ b/client/components/sidebar/sidebarFilters.jade @@ -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 diff --git a/client/components/sidebar/sidebarFilters.js b/client/components/sidebar/sidebarFilters.js index 6fb3f500..fd8229e4 100644 --- a/client/components/sidebar/sidebarFilters.js +++ b/client/components/sidebar/sidebarFilters.js @@ -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(); |