src/org/openbravo/erpCommon/info/ProductComplete.html
changeset 1028 8b85368639cc
parent 799 fef2c5e2feb7
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/info/ProductComplete.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/info/ProductComplete.html	Mon May 26 11:32:48 2008 +0000
@@ -45,7 +45,7 @@
   function depurar() {
     var frm = document.frmSelector;
     if ((frm.inpKey.value==null || frm.inpKey.value=="") && (frm.inpName.value==null || frm.inpName.value=="") && (frm.inpContact.value==null || frm.inpContact.value=="") && (frm.inpZIP.value==null || frm.inpZIP.value=="") && (frm.inpPhone.value==null || frm.inpPhone.value=="") && !frm.inpClients.checked) {
-      frm.inpKey.focus();
+      setWindowElementFocus(frm.inpKey);
       mensaje(7);
       return false;
     }