Index: modules/filter/filter.admin.js =================================================================== RCS file: /cvs/drupal/drupal/modules/filter/filter.admin.js,v retrieving revision 1.1 diff -u -r1.1 filter.admin.js --- modules/filter/filter.admin.js 14 Dec 2009 13:32:53 -0000 1.1 +++ modules/filter/filter.admin.js 12 Mar 2010 16:49:55 -0000 @@ -52,7 +52,7 @@ // Bind click handler to this checkbox to conditionally show and hide the // filter's tableDrag row and vertical tab pane. - $checkbox.bind('click.filterUpdate', function () { + var filterUpdate = function () { if ($checkbox.is(':checked')) { $row.show(); if (tab) { @@ -67,7 +67,8 @@ } // Restripe table after toggling visibility of table row. Drupal.tableDrag['filter-order'].restripeTable(); - }); + }; + $checkbox.bind('click.filterUpdate', filterUpdate); // Attach summary for configurable filters (only for screen-readers). if (tab) { @@ -76,8 +77,8 @@ }); } - // Trigger our bound click handler to update elements to initial state. - $checkbox.trigger('click.filterUpdate'); + // Update elements to initial state. + filterUpdate(); }); } };