removing JS for persisting position and size (now handled automatically by C code)

This commit is contained in:
danm%netscape.com 2000-01-14 00:09:50 +00:00
Родитель dc4317097d
Коммит e61e030fc9
2 изменённых файлов: 1 добавлений и 20 удалений

Просмотреть файл

@ -41,7 +41,7 @@ Rights Reserved.
align="vertical"
width="750"
height="500"
persist="width height x y"
persist="width height screenX screenY"
windowtype="mail:3pane">

Просмотреть файл

@ -214,25 +214,6 @@ function OnUnloadMessenger()
messenger.SetWindow(null, null);
}
}
saveWindowPosition();
}
function saveWindowPosition()
{
// Get the current window position/size.
var x = window.screenX;
var y = window.screenY;
var h = window.outerHeight;
var w = window.outerWidth;
// Store these into the window attributes (for persistence).
var win = document.getElementById( "messengerWindow" );
win.setAttribute( "x", x );
win.setAttribute( "y", y );
win.setAttribute( "height", h );
win.setAttribute( "width", w );
// save x, y, width, height
}