Author: jmagne
Update of /cvs/dirsec/esc/src/app/xul/esc/chrome/content/esc In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2060
Modified Files: ESC.js Log Message: Update admin table row correctly with phone home data.
Index: ESC.js =================================================================== RCS file: /cvs/dirsec/esc/src/app/xul/esc/chrome/content/esc/ESC.js,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- ESC.js 3 Mar 2007 02:46:36 -0000 1.11 +++ ESC.js 3 Apr 2007 20:25:09 -0000 1.12 @@ -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); } }
389-commits@lists.fedoraproject.org