зеркало из https://github.com/mozilla/gecko-dev.git
Fixed bug 13164 preventing Open from working in editor
This commit is contained in:
Родитель
78d33dc35c
Коммит
98348e0f04
|
@ -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;
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче