In order to exclude the processed elements in others JS events, a class has to be added to processed elements.

I attach the patch.

CommentFileSizeAuthor
00-checkbox_filter-processed.diff1.08 KBsjovanig

Comments

TimeRaider’s picture

Same 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>');