In order to exclude the processed elements in others JS events, a class has to be added to processed elements.
I attach the patch.
| Comment | File | Size | Author |
|---|---|---|---|
| 00-checkbox_filter-processed.diff | 1.08 KB | sjovanig |
In order to exclude the processed elements in others JS events, a class has to be added to processed elements.
I attach the patch.
| Comment | File | Size | Author |
|---|---|---|---|
| 00-checkbox_filter-processed.diff | 1.08 KB | sjovanig |
Comments
Comment #1
TimeRaider commentedSame thing with D7 version
Luckily all you need to do is change one line in checkbox_filter.js
From:
jQuery('div.form-checkboxes:has(.form-item)', context).before('<div class="form-item"><label>' + Drupal.t('Filter') + ':</label> <input class="checkbox-filter form-text" type="text" size="8" /></div>');To:
jQuery('div.form-checkboxes:has(.form-item)', context).once('checkboxfilter').before('<div class="form-item"><label>' + Drupal.t('Filter') + ':</label> <input class="checkbox-filter form-text" type="text" size="8" /></div>');