Bug 1631238 - Route root AB properties to abAddressNameDialog view. r=darktrojan
authorAbdallahAfify <AbdallahAfify>
Tue, 28 Apr 2020 07:11:49 +0000
changeset 38067 ffa711650cb168714e3e6179267ab8656e8d47b5
parent 38066 964c4361f2870533cc6fdc5d05d821ca300eddbf
child 38068 370823b8dff7d6ea7eb19587aa92c709443df5c1
push id2595
push userclokep@gmail.com
push dateMon, 04 May 2020 19:02:04 +0000
treeherdercomm-beta@f53913797371 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdarktrojan
bugs1631238
Bug 1631238 - Route root AB properties to abAddressNameDialog view. r=darktrojan Differential Revision: https://phabricator.services.mozilla.com/D72249
mail/components/addrbook/content/abTrees.js
--- a/mail/components/addrbook/content/abTrees.js
+++ b/mail/components/addrbook/content/abTrees.js
@@ -295,16 +295,20 @@ directoryTreeView.prototype = {
       isMailList: false,
       isRemote: false,
       isSecure: false,
       URI: kAllDirectoryRoot + "?",
 
       get childNodes() {
         return MailServices.ab.directories;
       },
+
+      get propertiesChromeURI() {
+        return "chrome://messenger/content/addressbook/abAddressBookNameDialog.xhtml";
+      },
     };
     this._rowMap.push(new abDirTreeItem(rootAB));
 
     // Sort our addressbooks now
     this._rowMap.sort(abSort);
 
     if (this._tree) {
       this._tree.rowCountChanged(0, this._rowMap.length - oldCount);