src/org/openbravo/erpCommon/info/Account.html
changeset 1028 8b85368639cc
parent 799 fef2c5e2feb7
child 1044 8691bbc94032
--- a/src/org/openbravo/erpCommon/info/Account.html	Mon May 26 11:24:39 2008 +0000
+++ b/src/org/openbravo/erpCommon/info/Account.html	Mon May 26 11:32:48 2008 +0000
@@ -41,12 +41,12 @@
 function depurar() {
 	var frm = document.forms[0];
 	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) {
-		frm.inpAlias.focus();
+		setWindowElementFocus(frm.inpAlias);
 		// mensaje(7);
 		return false;
 	}
   if (frm.inpOrganization.value==null || frm.inpOrganization.value=="") {
-    frm.inpOrganization.focus();
+    setWindowElementFocus(frm.inpOrganization);
     // mensaje(7);
     return false;    
   }