Index: openacs-4/packages/acs-subsite/www/resources/core.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/resources/core.js,v diff -u -r1.13 -r1.14 --- openacs-4/packages/acs-subsite/www/resources/core.js 29 Mar 2011 15:48:46 -0000 1.13 +++ openacs-4/packages/acs-subsite/www/resources/core.js 21 May 2015 09:55:38 -0000 1.14 @@ -1,23 +1,14 @@ -/* Emulate getElementById on document.all only browsers. Requires - that IDs are unique to the page and do not coincide with NAME - attributes on other elements:- - Source: http://www.litotes.demon.co.uk/js_info/faq_notes/alt_dynwrite.html#getEl -*/ -if((!document.getElementById) && document.all){ - document.getElementById = function(id){return document.all[id];}; -} - +/* The function acs_Focus is included in blank-master.tcl function acs_Focus(form_name, element_name) { if (document.forms == null) return; if (document.forms[form_name] == null) return; if (document.forms[form_name].elements[element_name] == null) return; if (document.forms[form_name].elements[element_name].type == 'hidden') return; document.forms[form_name].elements[element_name].focus(); -} +} */ - function acs_FormRefresh(form_name) { if (document.forms == null) return; if (document.forms[form_name] == null) return;