зеркало из https://github.com/mozilla/pjs.git
Make sure goQuitApplication always returns a value (bug 285588). Patch by gautheri@noos.fr, r+sr=me.
This commit is contained in:
Родитель
d2dac35611
Коммит
89fda8827b
|
@ -47,8 +47,8 @@ function canQuitApplication()
|
|||
function goQuitApplication()
|
||||
{
|
||||
if (!canQuitApplication())
|
||||
return;
|
||||
|
||||
return false;
|
||||
|
||||
var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();
|
||||
var windowManagerInterface = windowManager.QueryInterface( Components.interfaces.nsIWindowMediator);
|
||||
var enumerator = windowManagerInterface.getEnumerator( null );
|
||||
|
|
Загрузка…
Ссылка в новой задаче