Bug 524662 - Customize Headers window is prompted twice: SeaMonkey part. r=Neil
authorSebastian Hengst <archaeopteryx@coole-files.de>
Mon, 11 Mar 2013 10:16:05 -0400
changeset 12113 c164453b2b01ab4993219a128a199d677802f27c
parent 12112 9737e2f98425bd6f68e475590771206fede3016f
child 12114 fc416f4edfca9c2ef2332951725d93c0815c3459
push id8992
push userryanvm@gmail.com
push dateMon, 11 Mar 2013 14:17:24 +0000
treeherdercomm-central@fc416f4edfca [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil
bugs524662
Bug 524662 - Customize Headers window is prompted twice: SeaMonkey part. r=Neil
suite/mailnews/mailWidgets.xml
--- a/suite/mailnews/mailWidgets.xml
+++ b/suite/mailnews/mailWidgets.xml
@@ -950,30 +950,16 @@
         </body>
       </method>
       <method name="onSelect">
         <parameter name="event"/>
         <body>
           <![CDATA[
             var menulist = document.getAnonymousNodes(this)[0];
             this.value = menulist.value;
-            // notify targets
-            var targets = this.targets;
-            if (targets) {
-              for (var i=0; i < targets.length; i++) {
-                targets[i].parentValue = menulist.value;
-              }
-            }
-
-            var optargets = this.optargets;
-            if (optargets) {
-              for (i = 0; i < optargets.length; ++i) {
-                optargets[i].opParentValue = menulist.value;
-              }
-            }
           ]]>
         </body>
       </method>
     </implementation>
   </binding>
 
   <!-- searchattribute - Subject, Sender, To, CC, etc. -->
   <binding id="searchattribute" name="searchAttribute"