Sets toggle state label on load

pull/896/head
Hagen Schink 11 years ago
parent 1f06a8b3c6
commit 40c1b579d4
  1. 8
      app/assets/javascripts/specific/toggable_fieldset.js

@ -73,3 +73,11 @@ function toggleFieldset(el) {
setFieldsetToggleState(fieldset);
}
jQuery(document).ready(function() {
jQuery('fieldset.header_collapsible').each(function(index) {
var fieldset = getFieldset(this);
setFieldsetToggleState(fieldset);
});
});

Loading…
Cancel
Save