38 lines
954 B
Diff
38 lines
954 B
Diff
--- ./esc/src/app/xul/esc/chrome/content/esc/ESC.js.fix3 2007-04-03 11:00:47.000000000 -0700
|
|
+++ ./esc/src/app/xul/esc/chrome/content/esc/ESC.js 2007-04-03 11:00:51.000000000 -0700
|
|
@@ -2249,6 +2249,7 @@
|
|
}
|
|
function UpdateAdminListRow( keyType, keyID)
|
|
{
|
|
+
|
|
if(!gAdminPage)
|
|
return;
|
|
|
|
@@ -2527,6 +2528,7 @@
|
|
{
|
|
recordMessage("EnrollCoolKey failed.");
|
|
}
|
|
+
|
|
if(gAdminPage)
|
|
{
|
|
UpdateAdminListRow(keyType,keyID);
|
|
@@ -3778,11 +3780,14 @@
|
|
UpdateEnrollmentArea(keyType,keyID,1);
|
|
}
|
|
|
|
- if(gAdminPage)
|
|
+
|
|
+ var adminWnd = IsPageWindowPresent(ADMIN_WINDOW);
|
|
+
|
|
+ if(adminWnd)
|
|
{
|
|
- SelectRowByKeyID(keyType, keyID);
|
|
- UpdateAdminListRow(keyType,keyID);
|
|
- UpdateAdminKeyDetailsArea(keyType,keyID);
|
|
+ adminWnd.SelectRowByKeyID(keyType, keyID);
|
|
+ adminWnd.UpdateAdminListRow(keyType,keyID);
|
|
+ adminWnd.UpdateAdminKeyDetailsArea(keyType,keyID);
|
|
}
|
|
}
|
|
|