Index: openacs-4/packages/acs-admin/www/users/merge.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/users/merge.tcl,v diff -u -r1.6.2.2 -r1.6.2.3 --- openacs-4/packages/acs-admin/www/users/merge.tcl 2 Jan 2016 13:50:16 -0000 1.6.2.2 +++ openacs-4/packages/acs-admin/www/users/merge.tcl 13 Sep 2016 10:53:35 -0000 1.6.2.3 @@ -89,6 +89,24 @@ -href "/resources/acs-admin/um-more-info.css" \ -media all +template::add_body_script -script { + function toggle_footer(event) { + event.preventDefault(); + var el = document.getElementsByTagName('div'); + for(i = 0; i < el.length; i++) { + if (el[i].className=='um-more-info') { + el[i].className='um-more-info-off'; + } else { + if (el[i].className=='um-more-info-off') { + el[i].className='um-more-info'; + } + } + }; + return false; + }; + document.getElementById('toggle-footer-display-control-1').addEventListener('click', toggle_footer, false); + document.getElementById('toggle-footer-display-control-2').addEventListener('click', toggle_footer, false); +} # Local variables: # mode: tcl # tcl-indent-level: 4