Use the event system to sync onboarding steps across browser tabs.

(imported from commit 29311390133aca8f3a3d79fbe06dbbcabc4fb6ea)
This commit is contained in:
Tim Abbott
2013-05-08 11:24:29 -04:00
committed by Jessica McKellar
parent 976ceb2a1d
commit a4c5c24029
2 changed files with 16 additions and 0 deletions

View File

@@ -810,6 +810,9 @@ function get_updates(options) {
case 'restart':
reload.initiate();
break;
case 'onboarding_steps':
onboarding.set_step_info(event.steps);
break;
case 'realm_user':
if (event.op === 'add') {
add_person(event.person);