From: Dion O. <dol...@us...> - 2005-11-17 09:02:29
|
Update of /cvsroot/magicajax/magicajax/Core/script In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7952/magicajax/Core/script Modified Files: AjaxCallObject.js Log Message: Replaced document.getElementById("__RBSCONTROLSEXIST") by document.forms[0]["__RBSCONTROLSEXIST"] because Firefox couldn't find this hidden element by Id (because it only has a name attribute) Index: AjaxCallObject.js =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/script/AjaxCallObject.js,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AjaxCallObject.js 17 Nov 2005 08:44:38 -0000 1.3 --- AjaxCallObject.js 17 Nov 2005 09:02:20 -0000 1.4 *************** *** 75,79 **** // Check if callback should be forced after a browser page reload in FireFox, so all // controls rendered by MagicAjax-script will we redrawn on the page. ! __RBSExistField = document.getElementById("__RBSCONTROLSEXIST"); if (__RBSExistField != null && __RBSExistField.value == '1') { --- 75,79 ---- // Check if callback should be forced after a browser page reload in FireFox, so all // controls rendered by MagicAjax-script will we redrawn on the page. ! __RBSExistField = document.forms[0]["__RBSCONTROLSEXIST"]; if (__RBSExistField != null && __RBSExistField.value == '1') { |