Merge pull request #1500 from opf/feature/remove_scroll_to_prototype

removes scrollTo javascript from core
pull/1403/merge
Alex Coles 11 years ago
commit a546e95693
  1. 6
      app/assets/javascripts/application.js.erb

@ -172,12 +172,6 @@ function setCheckboxesBySelector(checked, selector) {
});
}
function showAndScrollTo(id, focus) {
Element.show(id);
if (focus !== null) { Form.Element.focus(focus); }
Element.scrollTo(id);
}
// TODO de-implement once table component has been used
function setGroupRowStatus(el) {
var collapseExpandButton = jQuery(el);

Loading…
Cancel
Save