Bug 500979 - searchParam getter depends on bug 232598. r=gavin
authorDão Gottwald <dao@mozilla.com>
Sun, 28 Jun 2009 14:28:24 +0200
changeset 29787 96450c57dd02
parent 29786 29b767814d87
child 29788 c7c2a3f3c487
push id106
push userhsivonen@iki.fi
push dateSun, 28 Jun 2009 17:44:42 +0000
reviewersgavin
bugs500979, 232598
milestone1.9.2a1pre
Bug 500979 - searchParam getter depends on bug 232598. r=gavin
toolkit/content/widgets/autocomplete.xml
--- a/toolkit/content/widgets/autocomplete.xml
+++ b/toolkit/content/widgets/autocomplete.xml
@@ -152,17 +152,17 @@
                 onset="this.setAttribute('showimagecolumn', val); return val;"
                 onget="return this.getAttribute('showimagecolumn') == 'true';"/>
 
       <property name="timeout"
                 onset="this.setAttribute('timeout', val); return val;"
                 onget="return parseInt(this.getAttribute('timeout')) || 50;"/>
 
       <property name="searchParam"
-                onget="return this.getAttribute('autocompletesearchparam');"
+                onget="return this.getAttribute('autocompletesearchparam') || '';"
                 onset="this.setAttribute('autocompletesearchparam', val); return val;"/>
 
       <property name="searchCount" readonly="true"
                 onget="this.initSearchNames(); return this.mSearchNames.length;"/>
 
       <property name="consumeRollupEvent" readonly="true"
                 onget="return this.mConsumeRollupEvent;"/>