changeset 42:2c48330f60fe

fixed a bug.
author Atul Varma <avarma@mozilla.com>
date Sat, 26 Jun 2010 17:15:36 -0700
parents 064d90175c60
children 5b8600135a4f
files static-files/index.js
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/static-files/index.js	Sat Jun 26 17:12:12 2010 -0700
+++ b/static-files/index.js	Sat Jun 26 17:15:36 2010 -0700
@@ -303,6 +303,10 @@
             function(success, data) {
               if (success) {
                 $("#logged-in .success").slideDown();
+                // Do a full round-trip to refresh our cached information
+                // about ourselves. Not efficient at all, but it'll work
+                // for now.
+                Attendees.refresh();
               } else {
                 $("#logged-in .error").slideDown();
               }