Commit 659ea62d authored by Roque's avatar Roque

erp5_officejs: fix in storage sync when user not logged in

parent b2a607f0
......@@ -122,13 +122,13 @@
return RSVP.all(promise_list);
})
.push(function () {
return gadget.setSetting("migration_version", current_version);
return appcache_storage.repair(current_version);
})
.push(function () {
return gadget.setSetting("previous_storage_name", storage_name);
return gadget.setSetting("migration_version", current_version);
})
.push(function () {
return appcache_storage.repair(current_version);
return gadget.setSetting("previous_storage_name", storage_name);
});
})
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>978.63040.35215.11502</string> </value>
<value> <string>979.3132.57631.22818</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1570462130.45</float>
<float>1570799816.86</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment