src/org/openbravo/erpCommon/ad_reports/ReportRegisterFilter.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRegisterFilter.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportRegisterFilter.html	Mon May 26 11:32:48 2008 +0000
@@ -55,12 +55,12 @@
 function depurar() {
   var frm=document.frmMain;
   if (frm.inpDateFrom.value==null || frm.inpDateFrom.value=="") {
-      frm.inpDateFrom.focus();
+      setWindowElementFocus(frm.inpDateFrom);
       mensaje(7);
       return false;
     }
   if (frm.inpDateTo.value==null || frm.inpDateTo.value=="") {
-      frm.inpDateTo.focus();
+      setWindowElementFocus(frm.inpDateTo);
       mensaje(7);
       return false;
     }