summaryrefslogtreecommitdiff
path: root/services/sync
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-30 08:34:47 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-10-30 08:34:47 +0100
commitec3829bf7266ebec111f41268c6c491356576df1 (patch)
treeb115169c6a73b8d35a625699545675361f9a6fea /services/sync
parentbfc3904054340ac6f525b9e79a9c26ce86c60ca0 (diff)
downloaduxp-ec3829bf7266ebec111f41268c6c491356576df1.tar.gz
Prevent form sync error when there's nothing to sync.
Diffstat (limited to 'services/sync')
-rw-r--r--services/sync/modules/engines/forms.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/sync/modules/engines/forms.js b/services/sync/modules/engines/forms.js
index 26b2891193..11dd8d9761 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":