src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html
changeset 1028 8b85368639cc
parent 987 29550073f826
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html	Mon May 26 11:32:48 2008 +0000
@@ -68,15 +68,15 @@
 function depurar(action) {
   var frm=document.frmMain;
   if (frm.inpmProductId.value==null || frm.inpmProductId.value=="") {
-    frm.inpmProductId_DES.focus();
+    setWindowElementFocus(frm.inpmProductId_DES);
   mensaje(7);
   return false;
   } else if (frm.inpmovementqty.value==null || frm.inpmovementqty.value=="") {
-    frm.inpmovementqty.focus();
+    setWindowElementFocus(frm.inpmovementqty);
   mensaje(7);
   return false;
   } else if (frm.inpnumerolineas.value==null || frm.inpnumerolineas.value=="") {
-    frm.inpnumerolineas.focus();
+    setWindowElementFocus(frm.inpnumerolineas);
   mensaje(7);
   return false;
   }