src/org/openbravo/erpCommon/info/Account.html
changeset 1028 8b85368639cc
parent 799 fef2c5e2feb7
child 1044 8691bbc94032
equal deleted inserted replaced
1027:2e9052d7de0e 1028:8b85368639cc
    39 </script>
    39 </script>
    40 <script language="JavaScript" type="text/javascript">
    40 <script language="JavaScript" type="text/javascript">
    41 function depurar() {
    41 function depurar() {
    42 	var frm = document.forms[0];
    42 	var frm = document.forms[0];
    43 	if ((frm.inpAlias.value==null || frm.inpAlias.value=="") && (frm.inpCombination.value==null || frm.inpCombination.value=="") && frm.inpOrganization.selectedIndex==-1 && frm.inpAccount.selectedIndex==-1 && frm.inpProduct.selectedIndex==-1 && frm.inpBPartner.selectedIndex==-1 && frm.inpProject.selectedIndex==-1 && frm.inpCampaign.selectedIndex==-1) {
    43 	if ((frm.inpAlias.value==null || frm.inpAlias.value=="") && (frm.inpCombination.value==null || frm.inpCombination.value=="") && frm.inpOrganization.selectedIndex==-1 && frm.inpAccount.selectedIndex==-1 && frm.inpProduct.selectedIndex==-1 && frm.inpBPartner.selectedIndex==-1 && frm.inpProject.selectedIndex==-1 && frm.inpCampaign.selectedIndex==-1) {
    44 		frm.inpAlias.focus();
    44 		setWindowElementFocus(frm.inpAlias);
    45 		// mensaje(7);
    45 		// mensaje(7);
    46 		return false;
    46 		return false;
    47 	}
    47 	}
    48   if (frm.inpOrganization.value==null || frm.inpOrganization.value=="") {
    48   if (frm.inpOrganization.value==null || frm.inpOrganization.value=="") {
    49     frm.inpOrganization.focus();
    49     setWindowElementFocus(frm.inpOrganization);
    50     // mensaje(7);
    50     // mensaje(7);
    51     return false;    
    51     return false;    
    52   }
    52   }
    53 	return true;
    53 	return true;
    54 }
    54 }