Bug 1229404 - Can't use Manage subscriptions after bug 1225165 landed in Daily. r=mkmelin, a=mkmelin
authoralta88 <alta88@gmail.com>
Wed, 02 Dec 2015 19:08:00 -0700
changeset 26477 a7badcebb0e1350c144269a18e78e62146e00aa1
parent 26476 da49c31cce33567203ef77b15b907a77036813a7
child 26478 436f2d4dfeb3271f54f893639fc8ebe4a9f9a4f8
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin, mkmelin
bugs1229404, 1225165
Bug 1229404 - Can't use Manage subscriptions after bug 1225165 landed in Daily. r=mkmelin, a=mkmelin
mailnews/extensions/newsblog/content/feed-subscriptions.js
--- a/mailnews/extensions/newsblog/content/feed-subscriptions.js
+++ b/mailnews/extensions/newsblog/content/feed-subscriptions.js
@@ -1850,17 +1850,17 @@ var FeedSubscriptions = {
       if (aFolder.server.type != "rss" ||
           FeedUtils.isInTrash(aFolder))
         return;
 
       let parentFolder = aFolder.isServer ? aFolder : aFolder.parent;
       FeedUtils.log.debug("folderAdded: folder:parent - " + aFolder.name + ":" +
                           (parentFolder ? parentFolder.filePath.path : "(null)"));
 
-      if (!parentFolder || !this.feedWindow))
+      if (!parentFolder || !this.feedWindow)
         return;
 
       let feedWindow = this.feedWindow;
       let curSelIndex = this.currentSelectedIndex;
       let curSelItem = this.currentSelectedItem;
       let firstVisRow = feedWindow.mView.treeBox.getFirstVisibleRow();
       let indexInView = feedWindow.mView.getItemInViewIndex(parentFolder);
       let open = indexInView != null;