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