diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-10-30 08:34:47 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-10-30 08:34:47 +0100 |
commit | ec3829bf7266ebec111f41268c6c491356576df1 (patch) | |
tree | b115169c6a73b8d35a625699545675361f9a6fea /services/sync/modules/engines | |
parent | bfc3904054340ac6f525b9e79a9c26ce86c60ca0 (diff) | |
download | UXP-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.js | 3 |
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": |