mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 695879 - Use SyncScheduler when adding a new device to sync. r=rnewman
This commit is contained in:
parent
ec7b05d148
commit
544845e37a
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user