X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FNoAuth%2Fjs%2Fcascaded.js;h=349d1818769b3a99f22bd2c53292aeaef8fd7939;hb=679854b8bbc65d112071111bbd7f34a6a481fb30;hp=d7110d572849eb3bf3c986f65db45d19a28955de;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/NoAuth/js/cascaded.js b/rt/share/html/NoAuth/js/cascaded.js index d7110d572..349d18187 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-2013 Best Practical Solutions, LLC %# %# %# (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);