Bug 350257, remove extra event listeners from numberbox, r=neil
authorenndeakin@sympatico.ca
Mon, 16 Apr 2007 08:11:53 -0700
changeset 556 2868e1509a044882fb9053f28492e9097cb4c75a
parent 555 6ac562022d4a2b472b33d1efd25af041b1350aa5
child 557 037502d820a4ffb4bee1ed24f4fb8ccdf9a64a13
push idunknown
push userunknown
push dateunknown
reviewersneil
bugs350257
milestone1.9a4pre
Bug 350257, remove extra event listeners from numberbox, r=neil
toolkit/content/widgets/numberbox.xml
--- a/toolkit/content/widgets/numberbox.xml
+++ b/toolkit/content/widgets/numberbox.xml
@@ -13,19 +13,17 @@
       <stylesheet src="chrome://global/skin/numberbox.css"/>
     </resources>
 
     <content>
       <xul:hbox class="textbox-input-box numberbox-input-box" flex="1" xbl:inherits="context">
         <html:input class="numberbox-input textbox-input" flex="1" anonid="input"
                     xbl:inherits="onfocus,onblur,value,type,maxlength,disabled,size,readonly,tabindex,accesskey"/>
       </xul:hbox>
-      <xul:spinbuttons anonid="buttons" xbl:inherits="disabled,hidden=hidespinbuttons"
-                       onup="this.parentNode._modifyUp();"
-                       ondown="this.parentNode._modifyDown();"/>
+      <xul:spinbuttons anonid="buttons" xbl:inherits="disabled,hidden=hidespinbuttons"/>
     </content>
 
     <implementation>
       <field name="_valueEntered">false</field>
       <field name="_spinButtons">null</field>
       <field name="_value">0</field>
       <field name="decimalSymbol">"."</field>