X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fhtml%2FNoAuth%2Fjs%2Fcombobox.js;h=443dd9dd7842808d7b281c12c3f6b9e5d0706754;hb=2dfda73eeb3eae2d4f894099754794ef07d060dd;hp=9225870b6a4c7de2af18569930321a304e7b9ab3;hpb=8103c1fc1b2c27a6855feadf26f91b980a54bc52;p=freeside.git diff --git a/rt/html/NoAuth/js/combobox.js b/rt/html/NoAuth/js/combobox.js index 9225870b6..443dd9dd7 100644 --- a/rt/html/NoAuth/js/combobox.js +++ b/rt/html/NoAuth/js/combobox.js @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -132,8 +132,8 @@ function ComboBox_GetListSize( theList ) { function ComboBox_EnsureListSize( theList ) { if ( typeof( theList.listSize ) == "undefined" ) { if( typeof( theList.getAttribute ) != "undefined" ) { - if( theList.getAttribute( "listSize" ) != null && theList.getAttribute( "listSize" ) != "" ) { - theList.listSize = theList.getAttribute( "listSize" ); + if( theList.getAttribute( "size" ) != null && theList.getAttribute( "size" ) != "" ) { + theList.listSize = theList.getAttribute( "size" ); return; } }