diff options
Diffstat (limited to 'rt/share/html/NoAuth/js/cascaded.js')
-rw-r--r-- | rt/share/html/NoAuth/js/cascaded.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/share/html/NoAuth/js/cascaded.js b/rt/share/html/NoAuth/js/cascaded.js index d7110d572..fb20b329b 100644 --- a/rt/share/html/NoAuth/js/cascaded.js +++ b/rt/share/html/NoAuth/js/cascaded.js @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -75,6 +75,8 @@ function filter_cascade (id, val) { else { for (i in complete_children) { if (!complete_children[i].label || + (complete_children[i].hasAttribute && + !complete_children[i].hasAttribute('label') ) || complete_children[i].label.substr(0, val.length) == val ) { if ( complete_children[i].cloneNode ) { new_option = complete_children[i].cloneNode(true); |