src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesFilterJR.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesFilterJR.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesFilterJR.html	Mon May 26 11:32:48 2008 +0000
@@ -55,21 +55,21 @@
 {
 	var frm = document.frmMain;
 	if (frm.inpDateFrom.value == null || frm.inpDateFrom.value == "") {
-		frm.inpDateFrom.focus();
+		setWindowElementFocus(frm.inpDateFrom);
 		mensaje(7);
 		return false;
 	} else if (frm.inpDateTo.value == null || frm.inpDateTo.value == ""){
-		frm.inpDateTo.focus();
+		setWindowElementFocus(frm.inpDateTo);
 		mensaje(7);
 		return false;
 	}
 	if (action == "EDIT_HTML_COMPARATIVE" || action == "EDIT_PDF_COMPARATIVE") {
 		if (frm.inpDateFromRef.value == null || frm.inpDateFromRef.value == "") {
-			frm.inpDateFromRef.focus();
+			setWindowElementFocus(frm.inpDateFromRef);
 			mensaje(7);
 			return false;
 		} else if (frm.inpDateToRef.value == null || frm.inpDateToRef.value == ""){
-			frm.inpDateToRef.focus();
+			setWindowElementFocus(frm.inpDateToRef);
 			mensaje(7);
 			return false;
 		}