Bug# 101760 ; r=javi ; sr = hewitt ; fixing window sizing issue
git-svn-id: svn://10.0.0.236/trunk@107030 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d7d2ef3a82
commit
0fc1cdbf40
@ -45,6 +45,14 @@ function onLoad()
|
||||
var msg = bundle.formatStringFromName("escrowFinalMessage",
|
||||
[dispName], 1);
|
||||
setText("message1",msg);
|
||||
|
||||
var wdth = window.innerWidth; // THIS IS NEEDED,
|
||||
window.sizeToContent();
|
||||
windowReference.setAttribute("width",window.innerWidth + 30);
|
||||
var hght = window.innerHeight; // THIS IS NEEDED,
|
||||
window.sizeToContent();
|
||||
windowReference.setAttribute("height",window.innerHeight + 30);
|
||||
|
||||
}
|
||||
|
||||
function doOK()
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
|
||||
<window id="escrowWarnDialog" title="&escrowWarn.title;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
height="280"
|
||||
width="400"
|
||||
onload="onLoad();">
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user