Bug 576991 - file picker does not open file picker dialog. r=bzbarsky

This commit is contained in:
Alexey Gladkov 2010-07-17 17:26:36 +02:00
parent 4532b376c3
commit 3866e8767e
2 changed files with 2 additions and 4 deletions

View File

@ -64,7 +64,7 @@ const nsIFileURL = Components.interfaces.nsIFileURL;
const nsISupports = Components.interfaces.nsISupports;
const nsIFactory = Components.interfaces.nsIFactory;
const nsIFilePicker = Components.interfaces.nsIFilePicker;
const nsIInterfaceRequestor = Components.interfaces.nsIInterfaceRequestor
const nsIInterfaceRequestor = Components.interfaces.nsIInterfaceRequestor;
const nsIDOMWindow = Components.interfaces.nsIDOMWindow;
const nsIStringBundleService = Components.interfaces.nsIStringBundleService;
const nsIWebNavigation = Components.interfaces.nsIWebNavigation;
@ -98,7 +98,7 @@ function nsFilePicker()
}
nsFilePicker.prototype = {
classID: Components.ID("{54ae32f8-1dd2-11b2-a209-df7c505370f8}");
classID: Components.ID("{54ae32f8-1dd2-11b2-a209-df7c505370f8}"),
QueryInterface: function(iid) {
if (iid.equals(nsIFilePicker) ||

View File

@ -1,4 +1,2 @@
component {54ae32f8-1dd2-11b2-a209-df7c505370f8} nsFilePicker.js
#ifndef MOZ_WIDGET_GTK2
contract @mozilla.org/filepicker;1 {54ae32f8-1dd2-11b2-a209-df7c505370f8}
#endif