Bug 510221 - Restore minimized window when clicking the Dock icon. r=gavin

This commit is contained in:
Håkan Waara 2009-09-22 09:39:09 +12:00
parent b4156da98f
commit 869dba9603

View File

@ -55,6 +55,9 @@ function checkFocusedWindow()
function toOpenWindow( aWindow )
{
// deminiaturize the window, if it's in the Dock
if (aWindow.windowState == STATE_MINIMIZED)
aWindow.restore();
aWindow.document.commandDispatcher.focusedWindow.focus();
}