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