Bug 1518823 - Follow-up: Fix left-over 'col.value' breaking the subscribe tree. r+a=me DONTBUILD
authorJorg K <jorgk@jorgk.com>
Sun, 24 Feb 2019 21:19:50 +0100
changeset 34364 df1d9106a00f4c8436a0256750ae9882a1c6c478
parent 34363 9d13f6b3d44693bf5516e1db776b3fad4d9fe702
child 34365 5a9179d16346a51c3015db486579cb705a21efc4
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
bugs1518823
Bug 1518823 - Follow-up: Fix left-over 'col.value' breaking the subscribe tree. r+a=me DONTBUILD
mailnews/base/content/subscribe.js
--- a/mailnews/base/content/subscribe.js
+++ b/mailnews/base/content/subscribe.js
@@ -364,17 +364,17 @@ function SubscribeOnClick(event)
     if (!gSubscribeTree.view.isContainer(treeCellInfo.row)) {
       ReverseStateFromNode(treeCellInfo.row);
       return;
     }
   }
   else if (event.detail == 1)
   {
     // if the user single clicks on the subscribe check box, we handle it here
-    if (col.value.id == "subscribedColumn")
+    if (treeCellInfo.col.id == "subscribedColumn")
       ReverseStateFromNode(treeCellInfo.row);
   }
 }
 
 function Refresh()
 {
   // clear out the textfield's entry
   gNameField.value = "";