зеркало из 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 url = null;
|
||||
try {
|
||||
fileSpec.parentWindow = window;
|
||||
url = fileSpec.chooseFile( "Open File" );
|
||||
fileSpec.parentWindow = null;
|
||||
} catch ( exception ) {
|
||||
}
|
||||
if ( url && url != "" ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче