src/org/openbravo/erpCommon/ad_forms/RequisitionToOrderCreate.html
changeset 1028 8b85368639cc
parent 770 8850d5956eba
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/ad_forms/RequisitionToOrderCreate.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_forms/RequisitionToOrderCreate.html	Mon May 26 11:32:48 2008 +0000
@@ -56,27 +56,27 @@
       function depurar(action) {
         var frm=document.frmMain;
         if (frm.inpOrderDate.value==null || frm.inpOrderDate.value=="") {
-            frm.inpOrderDate.focus();
+            setWindowElementFocus(frm.inpOrderDate);
             mensaje(7);
             return false;
         }
         if (frm.inpOrderVendorId.value==null || frm.inpOrderVendorId.value=="") {
-            frm.inpOrderVendorId_DES.focus();
+            setWindowElementFocus(frm.inpOrderVendorId_DES);
             mensaje(7);
             return false;
         }
         if (frm.inpPriceListId.value==null || frm.inpPriceListId.value=="") {
-            frm.inpPriceListId.focus();
+            setWindowElementFocus(frm.inpPriceListId);
             mensaje(7);
             return false;
         }
         if (frm.inpOrderOrg.value==null || frm.inpOrderOrg.value=="") {
-            frm.inpOrderOrg.focus();
+            setWindowElementFocus(frm.inpOrderOrg);
             mensaje(7);
             return false;
         }
         if (frm.inpWarehouse.value==null || frm.inpWarehouse.value=="") {
-            frm.inpWarehouse.focus();
+            setWindowElementFocus(frm.inpWarehouse);
             mensaje(7);
             return false;
         }