equal
deleted
inserted
replaced
190 |
190 |
191 /** |
191 /** |
192 * Initialize terms lists by adding class to lists headers containing selected terms |
192 * Initialize terms lists by adding class to lists headers containing selected terms |
193 */ |
193 */ |
194 initTree: function(element) { |
194 initTree: function(element) { |
195 $('input:checked', element).parents('.widget-body:first') |
195 $('input:checked', element).each(function() { |
196 .siblings('header') |
196 $(this).parents('.widget-body:first') |
197 .addClass('active'); |
197 .siblings('header') |
|
198 .addClass('active'); |
|
199 }); |
198 }, |
200 }, |
199 |
201 |
200 /** |
202 /** |
201 * Update header status after term (de)selection |
203 * Update header status after term (de)selection |
202 */ |
204 */ |