summaryrefslogtreecommitdiffstats
path: root/services/sync/modules/engines
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/modules/engines
parentbfc3904054340ac6f525b9e79a9c26ce86c60ca0 (diff)
downloadUXP-ec3829bf7266ebec111f41268c6c491356576df1.tar
UXP-ec3829bf7266ebec111f41268c6c491356576df1.tar.gz
UXP-ec3829bf7266ebec111f41268c6c491356576df1.tar.lz
UXP-ec3829bf7266ebec111f41268c6c491356576df1.tar.xz
UXP-ec3829bf7266ebec111f41268c6c491356576df1.zip
Prevent form sync error when there's nothing to sync.
Diffstat (limited to 'services/sync/modules/engines')
-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 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":