src/org/openbravo/erpCommon/ad_reports/ReportWarehouseControl.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/ad_reports/ReportWarehouseControl.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportWarehouseControl.html	Mon May 26 11:32:48 2008 +0000
@@ -54,12 +54,12 @@
 <SCRIPT language="JavaScript" type="text/javascript">
 function depurar(){
   if (frmMain.inpDateFrom.value==null || frmMain.inpDateFrom.value==""){
-    frmMain.inpDateFrom.focus();
+    setWindowElementFocus(frmMain.inpDateFrom);
     mensaje(7);
     return false;
   }
   if (frmMain.inpDateTo.value==null || frmMain.inpDateTo.value==""){
-    frmMain.inpDateTo.focus();
+    setWindowElementFocus(frmMain.inpDateTo);
     mensaje(7);
     return false;
   }