summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a896a16)
raw | patch | inline | side by side (parent: a896a16)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Jul 2010 09:15:26 +0000 (09:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Jul 2010 09:15:26 +0000 (09:15 +0000) |
- If the id of the current field was empty, we accidentally focused the first field again.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19011 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19011 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/include/gosa.js | patch | blob | history |
index e79eac34d052b837fce73af8a8ca50a8de49b0d2..385c01a340c7aaf5bbba81a1f405b49098e14ac2 100644 (file)
if(found && !el.disabled && el.type!='hidden' && !el.name.match(/^submit_tree_base/) && !el.name.match(/^bs_rebase/)){
return(el);
}
- if(el.id==element.id || el.name==element.name){
+ if((el.id != "" && el.id==element.id) || (el.name != "" && el.name==element.name)){
found =true;
}
}