src/org/openbravo/erpCommon/ad_reports/GenerateModel347.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/ad_reports/GenerateModel347.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_reports/GenerateModel347.html	Mon May 26 11:32:48 2008 +0000
@@ -54,13 +54,13 @@
 function depurar()
 {
 	if(document.forms[0].inpDateFrom.value==null || document.forms[0].inpDateTo.value==null || document.forms[0].inpDateFrom.value=="" || document.forms[0].inpDateTo.value==""){
-			document.forms[0].inpDateFrom.focus();
+			setWindowElementFocus(document.forms[0].inpDateFrom);
 			mensaje(7);
 			return false;
 	} 
 	if (document.forms[0].inpReportType=="Sustitutive"){
 		if (document.forms[0].inpComplementar==null || document.forms[0].inpComplementar==""){
-			document.forms[0].inpComplementar.focus();
+			setWindowElementFocus(document.forms[0].inpComplementar);
 			mensaje(7);
 			return false;
 		}