Bug 60156 - make sure the filepicker component gets registered correctly. r=disttsc@bart.nl, a=ben@netscape.com.

This commit is contained in:
bryner%uiuc.edu 2000-11-16 07:57:46 +00:00
Родитель 45ec3f1167
Коммит 55ae8fb03f
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -55,11 +55,14 @@ const nsIDOMWindow = Components.interfaces.nsIDOMWindow;
const nsILocaleService = Components.interfaces.nsILocaleService;
const nsIStringBundleService = Components.interfaces.nsIStringBundleService;
const bundle = srGetStrBundle("chrome://global/locale/filepicker.properties");
var bundle = null;
var lastDirectory = null;
function nsFilePicker()
{
if (!bundle)
bundle = srGetStrBundle("chrome://global/locale/filepicker.properties");
/* attributes */
this.mDefaultString = "";
if (lastDirectory) {

Просмотреть файл

@ -55,11 +55,14 @@ const nsIDOMWindow = Components.interfaces.nsIDOMWindow;
const nsILocaleService = Components.interfaces.nsILocaleService;
const nsIStringBundleService = Components.interfaces.nsIStringBundleService;
const bundle = srGetStrBundle("chrome://global/locale/filepicker.properties");
var bundle = null;
var lastDirectory = null;
function nsFilePicker()
{
if (!bundle)
bundle = srGetStrBundle("chrome://global/locale/filepicker.properties");
/* attributes */
this.mDefaultString = "";
if (lastDirectory) {