зеркало из https://github.com/mozilla/pjs.git
Fix for #5708 (I forgot this piece last week); r=danm@netscape.com
This commit is contained in:
Родитель
fe33da753c
Коммит
c088dc48d4
|
@ -1051,7 +1051,9 @@ function RevealSearchPanel()
|
||||||
var fileSpec = createInstance( "component://netscape/filespecwithui", "nsIFileSpecWithUI" );
|
var fileSpec = createInstance( "component://netscape/filespecwithui", "nsIFileSpecWithUI" );
|
||||||
var url = null;
|
var url = null;
|
||||||
try {
|
try {
|
||||||
|
fileSpec.parentWindow = window;
|
||||||
url = fileSpec.chooseFile( "Open File" );
|
url = fileSpec.chooseFile( "Open File" );
|
||||||
|
fileSpec.parentWindow = null;
|
||||||
} catch ( exception ) {
|
} catch ( exception ) {
|
||||||
}
|
}
|
||||||
if ( url && url != "" ) {
|
if ( url && url != "" ) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче