[DynamicRebuildWindow] Fixed warnings output by Firebug
authorAntonio Moreno <antonio.moreno@openbravo.com>
Thu, 03 Jun 2010 20:18:12 +0200
changeset 7550 7f57d2e6d237
parent 7549 6e532d6c081e
child 7551 d0041f618d7a
[DynamicRebuildWindow] Fixed warnings output by Firebug
src/org/openbravo/erpCommon/ad_process/ApplyModules.html
--- a/src/org/openbravo/erpCommon/ad_process/ApplyModules.html	Thu Jun 03 19:38:48 2010 +0200
+++ b/src/org/openbravo/erpCommon/ad_process/ApplyModules.html	Thu Jun 03 20:18:12 2010 +0200
@@ -176,7 +176,7 @@
       var output = minutes_string + ":" + seconds_string;
       document.getElementById(targetvar).innerHTML=output;
 
-      submitXmlHttpRequest(update, frmMain, "UPDATESTATUS", "ApplyModulesCallServlet.html", false, null, null);
+      submitXmlHttpRequest(update, document.frmMain, "UPDATESTATUS", "ApplyModulesCallServlet.html", false, null, null);
 
       if (lc_isTimerEnabled) {
         setTimeout(function() {LocalTimer(targetvar, referenceDate);},1000);
@@ -452,7 +452,7 @@
     function endProcess(paramXMLParticular, XMLHttpRequestObj) {
       if (getReadyStateHandler(XMLHttpRequestObj)) { 
           var frm = document.frmMain;
-          submitXmlHttpRequest(update, frmMain, "UPDATESTATUS", "ApplyModulesCallServlet.html", false, null, null);
+          submitXmlHttpRequest(update, frm, "UPDATESTATUS", "ApplyModulesCallServlet.html", false, null, null);
           submitXmlHttpRequest(getError, frm, "GETERR", "ApplyModulesCallServlet.html", false, null, null);
           return true;
       }