Bug 695879 - Use SyncScheduler when adding a new device to sync. r=rnewman

This commit is contained in:
Leonard Camacho 2012-08-21 18:23:42 -04:00
parent ec7b05d148
commit 544845e37a

View File

@ -31,7 +31,7 @@ let gSyncAddDevice = {
// Kick off a sync. That way the server will have the most recent data from
// this computer and it will show up immediately on the new device.
Weave.Utils.nextTick(Weave.Service.sync, Weave.Service);
Weave.SyncScheduler.scheduleNextSync(0);
},
onPageShow: function onPageShow() {