src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
changeset 1028 8b85368639cc
parent 964 4a92ccd2edf3
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html	Mon May 26 11:32:48 2008 +0000
@@ -91,19 +91,19 @@
 function depurar() {
   var frm=document.frmMain;
     if (inputValue(frm.inpDateFrom)==null || inputValue(frm.inpDateFrom)=="") {
-      frm.inpDateFrom.focus();
+      setWindowElementFocus(frm.inpDateFrom);
       mensaje(7);
       return false;
     }  else if (inputValue(frm.inpOrg)==null || inputValue(frm.inpOrg)=="") {
-      frm.inpOrg.focus();
+      setWindowElementFocus(frm.inpOrg);
       mensaje(7);
       return false;
     }  else if (inputValue(frm.inpLevel)==null || inputValue(frm.inpLevel)=="") {
-      frm.inpLevel.focus();
+      setWindowElementFocus(frm.inpLevel);
       mensaje(7);
       return false;
     }  else if (inputValue(frm.inpcAcctSchemaId)==null || inputValue(frm.inpcAcctSchemaId)=="") {
-      frm.inpcAcctSchemaId.focus();
+      setWindowElementFocus(frm.inpcAcctSchemaId);
       mensaje(7);
       return false;
     }