mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
102477 - post-landing download manager cleanup. r=timeless sr=hewitt a=dbaron
This commit is contained in:
parent
2297132c39
commit
6c5ad7c1d3
@ -178,10 +178,11 @@ var downloadViewController = {
|
||||
file.launch();
|
||||
break;
|
||||
case "cmd_showinshell":
|
||||
file = getFileForItem(selection[0]).QueryInterface(Components.interfaces.nsIFile);
|
||||
file = getFileForItem(selection[0]);
|
||||
|
||||
// on unix, open a browser window rooted at the parent
|
||||
if (navigator.platform.indexOf("Win") == -1 && navigator.platform.indexOf("Mac") == -1) {
|
||||
file = file.QueryInterface(Components.interfaces.nsIFile);
|
||||
var parent = file.parent;
|
||||
if (parent) {
|
||||
const browserURL = "chrome://navigator/content/navigator.xul";
|
||||
|
Loading…
Reference in New Issue
Block a user