Select site when length of site is 1

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12126 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-11-05 09:48:23 +00:00
parent 3a935d6541
commit cbaf10002a
2 changed files with 63 additions and 1 deletions

View file

@ -761,6 +761,10 @@ jQuery(function($){
}
setListSize($siteList, MAX_LIST_HEIGHT - $siteFinder.parent("div").height());
if(list.length == 1){
$siteList.find('a').trigger('click');
}
}
$siteFinder.keyup(function(){

File diff suppressed because one or more lines are too long