зеркало из https://github.com/mozilla/pjs.git
Fixed bug 13164 preventing Open from working in editor
This commit is contained in:
Родитель
32a6e8ec5f
Коммит
aa789f9790
|
@ -1244,7 +1244,7 @@ nsEditorShell::GetLocalFileURL(nsIDOMWindow *parent, const PRUnichar *filterType
|
|||
*_retval = nsnull;
|
||||
|
||||
// TODO: DON'T ACCEPT NULL PARENT AFTER WIDGET IS FIXED
|
||||
if (parent|| !(htmlFilter || imgFilter))
|
||||
if (/*parent||*/ !(htmlFilter || imgFilter))
|
||||
return NS_ERROR_NOT_INITIALIZED;
|
||||
|
||||
|
||||
|
|
|
@ -1244,7 +1244,7 @@ nsEditorShell::GetLocalFileURL(nsIDOMWindow *parent, const PRUnichar *filterType
|
|||
*_retval = nsnull;
|
||||
|
||||
// TODO: DON'T ACCEPT NULL PARENT AFTER WIDGET IS FIXED
|
||||
if (parent|| !(htmlFilter || imgFilter))
|
||||
if (/*parent||*/ !(htmlFilter || imgFilter))
|
||||
return NS_ERROR_NOT_INITIALIZED;
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче