Check in for tao. Bug 88277 - (JS) cut off strings when loading pkcs11 module. r=mcgreer,sr=blizzard

This commit is contained in:
ddrinan%netscape.com 2001-07-16 20:33:07 +00:00
parent 027de70173
commit 89a00ad87f
2 changed files with 10 additions and 1 deletions

View File

@ -321,8 +321,13 @@ function doLogout()
// load a new device
function doLoad()
{
//device.loaddlg.width=300
//device.loaddlg.height=200
var dlgWidth = bundle.GetStringFromName("device.loaddlg.width");
var dlgHeight = bundle.GetStringFromName("device.loaddlg.height");
//
window.open("load_device.xul", "loaddevice",
"chrome,width=300,height=200,resizable=0,dialog=1,modal=1");
"chrome,width=" + dlgWidth + ",height="+ dlgHeight+ ",resizable=1,dialog=1,modal=1");
var device_list = document.getElementById("device_list");
while (device_list.firstChild)
device_list.removeChild(device_list.firstChild);

View File

@ -106,3 +106,7 @@ devinfo_stat_loggedin=Logged In
devinfo_stat_ready=Ready
enable_fips=Enable FIPS
disable_fips=Disable FIPS
#device manager: load device dlg
device.loaddlg.width=300
device.loaddlg.height=200