src/org/openbravo/erpCommon/info/BusinessPartner.html
changeset 1028 8b85368639cc
parent 712 aa0c40278c5a
child 1044 8691bbc94032
equal deleted inserted replaced
1027:2e9052d7de0e 1028:8b85368639cc
    44 
    44 
    45 <script language="JavaScript" type="text/javascript">
    45 <script language="JavaScript" type="text/javascript">
    46   function depurar() {
    46   function depurar() {
    47     var frm = document.frmSelector;
    47     var frm = document.frmSelector;
    48     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) {
    48     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) {
    49       frm.inpKey.focus();
    49       setWindowElementFocus(frm.inpKey);
    50       mensaje(7);
    50       mensaje(7);
    51       return false;
    51       return false;
    52     }
    52     }
    53     return true;
    53     return true;
    54   }
    54   }