src/org/openbravo/erpCommon/ad_forms/Role.html
changeset 1028 8b85368639cc
parent 741 dc65b1ca408e
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/ad_forms/Role.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_forms/Role.html	Mon May 26 11:32:48 2008 +0000
@@ -37,19 +37,19 @@
 function depurar() {
   var frm = document.frmMain;
   if (frm.inpClaveOld.value==null || frm.inpClaveOld.value=="") {
-    frm.inpClaveOld.focus();
+    setWindowElementFocus(frm.inpClaveOld);
     mensaje(7);
     return false;
     } else if (frm.inpClaveNew.value==null || frm.inpClaveNew.value=="") {
-    frm.inpClaveNew.focus();
+    setWindowElementFocus(frm.inpClaveNew);
     mensaje(7);
     return false;
     } else if (frm.inpClaveNew2.value==null || frm.inpClaveNew2.value=="") {
-    frm.inpClaveNew2.focus();
+    setWindowElementFocus(frm.inpClaveNew2);
     mensaje(7);
     return false;
     } else if (frm.inpClaveNew.value != frm.inpClaveNew2.value) {
-    frm.inpClaveNew.focus();
+    setWindowElementFocus(frm.inpClaveNew);
     mensaje(20);
     return false;
   }