includes/clientside/static/autocomplete.js
changeset 73 0a74676a2f2f
parent 1 fe660c52c48f
child 184 d74ff822acc9
equal deleted inserted replaced
72:bda11e521e8a 73:0a74676a2f2f
   249         var body = document.getElementsByTagName('body');
   249         var body = document.getElementsByTagName('body');
   250         body = body[0];
   250         body = body[0];
   251         unSelectMenuOn = true;
   251         unSelectMenuOn = true;
   252         submitAuthorized = false;
   252         submitAuthorized = false;
   253         body.appendChild(thediv);
   253         body.appendChild(thediv);
   254         
       
   255         unObj.onblur = function() { CheckDestroyUsernameDropdowns(thediv.id); };
       
   256       }
   254       }
   257     });
   255     });
   258 }
       
   259 
       
   260 function CheckDestroyUsernameDropdowns(id)
       
   261 {
       
   262   elem = document.getElementById(id);
       
   263   if(!elem) return;
       
   264   if(queryOnObj(elem, 100))
       
   265   {
       
   266     destroyUsernameDropdowns();
       
   267   }
       
   268 }
   256 }
   269 
   257 
   270 function destroyUsernameDropdowns()
   258 function destroyUsernameDropdowns()
   271 {
   259 {
   272   var divs = document.getElementsByTagName('div');
   260   var divs = document.getElementsByTagName('div');