summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f70727)
raw | patch | inline | side by side (parent: 5f70727)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Apr 2010 12:30:30 +0000 (12:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Apr 2010 12:30:30 +0000 (12:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17969 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/include/gosa.js | patch | blob | history |
index db53dbe37a743b23c79525a9f4fd22319f24ef94..d3786ae2e35c1d7f96d4bc8103fc5bee66d59e77 100644 (file)
var found = false;
for (var e=0;e< document.forms.length; e++){
for (var i = 0; i < document.forms[e].elements.length; i++) {
- if(found && !document.forms[e].elements[i].disabled){
- return(document.forms[e].elements[i]);
+ var el = document.forms[e].elements[i]
+ if(found && !el.disabled && el.type!='hidden' && !el.name.match(/^submit_tree_base/) && !el.name.match(/^bs_rebase/)){
+ return(el);
}
- if(document.forms[e].elements[i].id==element.id || document.forms[e].elements[i].name==element.name){
+ if(el.id==element.id || el.name==element.name){
found =true;
}
}