From ec3829bf7266ebec111f41268c6c491356576df1 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 30 Oct 2018 08:34:47 +0100 Subject: Prevent form sync error when there's nothing to sync. --- services/sync/modules/engines/forms.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'services') diff --git a/services/sync/modules/engines/forms.js b/services/sync/modules/engines/forms.js index 26b289119..11dd8d976 100644 --- a/services/sync/modules/engines/forms.js +++ b/services/sync/modules/engines/forms.js @@ -225,6 +225,9 @@ FormTracker.prototype = { observe: function (subject, topic, data) { Tracker.prototype.observe.call(this, subject, topic, data); + if (this.ignoreAll) { + return; + } switch (topic) { case "satchel-storage-changed": -- cgit v1.2.3