Bug 412844 - "DownloadManagerUI.visible is always false" [p=victor.gubin@teamdev.com (Victor Gubin) r=sdwilsh a1.9=schrep]
authorreed@reedloden.com
Fri, 18 Jan 2008 23:04:59 -0800
changeset 10435 5e5cada77a40222cd718d867874fc1617f93fbea
parent 10434 b9c40f39aaf9e3e406c3979c3e1f8784d018a5aa
child 10436 0c49c59c744fec71cdb2e6cd736023ce12b3531f
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherderautoland@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssdwilsh
bugs412844
milestone1.9b3pre
Bug 412844 - "DownloadManagerUI.visible is always false" [p=victor.gubin@teamdev.com (Victor Gubin) r=sdwilsh a1.9=schrep]
toolkit/components/downloads/src/nsDownloadManagerUI.js
--- a/toolkit/components/downloads/src/nsDownloadManagerUI.js
+++ b/toolkit/components/downloads/src/nsDownloadManagerUI.js
@@ -84,17 +84,17 @@ nsDownloadManagerUI.prototype = {
       download = dm.getDownload(aID);
     } catch (ex) {}
     params.appendElement(download, false);
 
     var ww = Cc["@mozilla.org/embedcomp/window-watcher;1"].
              getService(Ci.nsIWindowWatcher);
     ww.openWindow(window,
                   DOWNLOAD_MANAGER_URL,
-                  null,
+                  "Download:Manager",
                   "chrome,dialog=no,resizable",
                   params);
   },
 
   get visible() {
     return (null != this.recentWindow);
   },